diff options
| author | hilimd <68371223+hilimd@users.noreply.github.com> | 2020-11-13 15:34:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-13 15:34:38 +0800 |
| commit | e0d5207ed9ff6350e83497586ac9859d841a711a (patch) | |
| tree | 5fa024e1108a53af325a79f09c0aadd63b41fb3b /weed/shell/commands.go | |
| parent | a38efe2e7baf34cb074c9db095f7db50de0fa156 (diff) | |
| parent | a2962604ad0bf83b26c692c72ddd40e648fb804d (diff) | |
| download | seaweedfs-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.go | 2 |
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) |
