mirror of
https://github.com/pgsty/minio.git
synced 2026-07-25 06:56:18 +03:00
updated probe
This commit is contained in:
@@ -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