aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/commands.go
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2020-11-13 15:34:38 +0800
committerGitHub <noreply@github.com>2020-11-13 15:34:38 +0800
commite0d5207ed9ff6350e83497586ac9859d841a711a (patch)
tree5fa024e1108a53af325a79f09c0aadd63b41fb3b /weed/shell/commands.go
parenta38efe2e7baf34cb074c9db095f7db50de0fa156 (diff)
parenta2962604ad0bf83b26c692c72ddd40e648fb804d (diff)
downloadseaweedfs-e0d5207ed9ff6350e83497586ac9859d841a711a.tar.xz
seaweedfs-e0d5207ed9ff6350e83497586ac9859d841a711a.zip
Merge pull request #36 from chrislusf/master
sync
Diffstat (limited to 'weed/shell/commands.go')
-rw-r--r--weed/shell/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go
index 1a937ad53..0e285214b 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -45,7 +45,7 @@ var (
func NewCommandEnv(options ShellOptions) *CommandEnv {
ce := &CommandEnv{
env: make(map[string]string),
- MasterClient: wdclient.NewMasterClient(options.GrpcDialOption, pb.AdminShellClient, "", 0, strings.Split(*options.Masters, ",")),
+ MasterClient: wdclient.NewMasterClient(options.GrpcDialOption, pb.AdminShellClient, "", 0, "", strings.Split(*options.Masters, ",")),
option: options,
}
ce.locker = exclusive_locks.NewExclusiveLocker(ce.MasterClient)