aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2020-11-13 15:34:38 +0800
committerGitHub <noreply@github.com>2020-11-13 15:34:38 +0800
commite0d5207ed9ff6350e83497586ac9859d841a711a (patch)
tree5fa024e1108a53af325a79f09c0aadd63b41fb3b /weed/command/benchmark.go
parenta38efe2e7baf34cb074c9db095f7db50de0fa156 (diff)
parenta2962604ad0bf83b26c692c72ddd40e648fb804d (diff)
downloadseaweedfs-e0d5207ed9ff6350e83497586ac9859d841a711a.tar.xz
seaweedfs-e0d5207ed9ff6350e83497586ac9859d841a711a.zip
Merge pull request #36 from chrislusf/master
sync
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()