diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-01 22:13:47 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-01 22:13:47 -0800 |
| commit | 6a8484b4ae2615c2cc88e3a66d03aead3966ba7c (patch) | |
| tree | 9cd878b35c425f24f22ac5246ed1d0046533dac6 /weed/command/benchmark.go | |
| parent | 0ca68a2a6d87786dbebe87fbd4b786b3318c1dcb (diff) | |
| download | seaweedfs-6a8484b4ae2615c2cc88e3a66d03aead3966ba7c.tar.xz seaweedfs-6a8484b4ae2615c2cc88e3a66d03aead3966ba7c.zip | |
master able to list all master clients by type
Diffstat (limited to 'weed/command/benchmark.go')
| -rw-r--r-- | weed/command/benchmark.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go index c83db02b4..e85ab1b9b 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -127,7 +127,7 @@ func runBenchmark(cmd *Command, args []string) bool { defer pprof.StopCPUProfile() } - b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "client", strings.Split(*b.masters, ",")) + b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "client", 0, strings.Split(*b.masters, ",")) go b.masterClient.KeepConnectedToMaster() b.masterClient.WaitUntilConnected() |
