aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell')
-rw-r--r--weed/shell/commands.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go
index 31ca31bc3..a67a4e45e 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -44,8 +44,7 @@ var (
func NewCommandEnv(options ShellOptions) *CommandEnv {
return &CommandEnv{
env: make(map[string]string),
- MasterClient: wdclient.NewMasterClient(
- options.GrpcDialOption, "shell", strings.Split(*options.Masters, ",")),
+ MasterClient: wdclient.NewMasterClient(options.GrpcDialOption, "shell", 0, strings.Split(*options.Masters, ",")),
option: options,
}
}