aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
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/command/benchmark.go
parentb73ef6aa95399a30b54cd43260945cbe14e49457 (diff)
downloadseaweedfs-fc7baef5bb58caa454deb6ea0376a8bd516aa080.tar.xz
seaweedfs-fc7baef5bb58caa454deb6ea0376a8bd516aa080.zip
fiil serverUrls sorted by data center
Diffstat (limited to 'weed/command/benchmark.go')
-rw-r--r--weed/command/benchmark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go
index e241a904e..080312aa8 100644
--- a/weed/command/benchmark.go
+++ b/weed/command/benchmark.go
@@ -125,7 +125,7 @@ func runBenchmark(cmd *Command, args []string) bool {
defer pprof.StopCPUProfile()
}
- b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "client", "", 0, strings.Split(*b.masters, ","))
+ b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "client", "", 0, "", strings.Split(*b.masters, ","))
go b.masterClient.KeepConnectedToMaster()
b.masterClient.WaitUntilConnected()