aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-07-03 00:29:25 -0700
committerchrislu <chris.lu@gmail.com>2022-07-28 23:22:51 -0700
commit68065128b83997365a0f267799026b0e520b9816 (patch)
treebd3b4dda9a56de3fb151fc3eecf0e996af95153a /weed/command/benchmark.go
parent8d31e73ffd7d33d79c1ce125e1df2f9464ccbe09 (diff)
downloadseaweedfs-68065128b83997365a0f267799026b0e520b9816.tar.xz
seaweedfs-68065128b83997365a0f267799026b0e520b9816.zip
add dc and rack
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 9f18cc5b9..d600e32b5 100644
--- a/weed/command/benchmark.go
+++ b/weed/command/benchmark.go
@@ -129,7 +129,7 @@ func runBenchmark(cmd *Command, args []string) bool {
defer pprof.StopCPUProfile()
}
- b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "", "client", "", "", pb.ServerAddresses(*b.masters).ToAddressMap())
+ b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "", "client", "", "", "", pb.ServerAddresses(*b.masters).ToAddressMap())
go b.masterClient.KeepConnectedToMaster()
b.masterClient.WaitUntilConnected()