updated probe

This commit is contained in:
Anand Babu (AB) Periasamy
2015-10-23 19:59:08 -07:00
parent e1a992908c
commit 8e68591933
4 changed files with 22 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ import (
"github.com/dustin/go-humanize"
"github.com/minio/cli"
"github.com/minio/minio-xl/pkg/probe"
)
func init() {
@@ -147,6 +148,9 @@ VERSION:
}
func main() {
// Set projet's root source path.
probe.SetRoot()
app := registerApp()
app.Before = func(c *cli.Context) error {
globalJSONFlag = c.GlobalBool("json")