aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2020-11-12 02:13:33 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2020-11-12 02:13:33 +0500
commitfc7baef5bb58caa454deb6ea0376a8bd516aa080 (patch)
tree059310f4a2ed78c57ce6c84ea9d33811c5d1502a /weed/shell
parentb73ef6aa95399a30b54cd43260945cbe14e49457 (diff)
downloadseaweedfs-fc7baef5bb58caa454deb6ea0376a8bd516aa080.tar.xz
seaweedfs-fc7baef5bb58caa454deb6ea0376a8bd516aa080.zip
fiil serverUrls sorted by data center
Diffstat (limited to 'weed/shell')
-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)