diff options
| author | Konstantin Lebedev <lebedev_k@tochka.com> | 2020-11-12 02:13:33 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <lebedev_k@tochka.com> | 2020-11-12 02:13:33 +0500 |
| commit | fc7baef5bb58caa454deb6ea0376a8bd516aa080 (patch) | |
| tree | 059310f4a2ed78c57ce6c84ea9d33811c5d1502a /weed/shell/commands.go | |
| parent | b73ef6aa95399a30b54cd43260945cbe14e49457 (diff) | |
| download | seaweedfs-fc7baef5bb58caa454deb6ea0376a8bd516aa080.tar.xz seaweedfs-fc7baef5bb58caa454deb6ea0376a8bd516aa080.zip | |
fiil serverUrls sorted by data center
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) |
