mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
updated probe
This commit is contained in:
4
main.go
4
main.go
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user