aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-18 15:17:27 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-18 15:17:27 -0700
commit076c8bd3bcb6f76c84a8df50aff923d493a6bb9d (patch)
treec04613e01216887c2efef3452d217e621832a04b /weed/command/benchmark.go
parent5d346d44bdec30d632840fb30c520cc2a334e004 (diff)
downloadseaweedfs-076c8bd3bcb6f76c84a8df50aff923d493a6bb9d.tar.xz
seaweedfs-076c8bd3bcb6f76c84a8df50aff923d493a6bb9d.zip
filer master start up with default ip address instead of just localhost
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 6f156d6ed..6846dc98d 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", 0, strings.Split(*b.masters, ","))
+ b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "client", "", 0, strings.Split(*b.masters, ","))
go b.masterClient.KeepConnectedToMaster()
b.masterClient.WaitUntilConnected()