diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-11-03 01:09:48 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-11-03 01:09:48 -0700 |
| commit | af71ae11aa29350a60ed7d3b9a16276a06ba9dcc (patch) | |
| tree | a59876d14e41191709169276cc18daadeddef820 /weed/command/benchmark.go | |
| parent | ab97b17e62503066598f9cf9ecaf4dba4ee2d6d8 (diff) | |
| download | seaweedfs-af71ae11aa29350a60ed7d3b9a16276a06ba9dcc.tar.xz seaweedfs-af71ae11aa29350a60ed7d3b9a16276a06ba9dcc.zip | |
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
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 af5919adf..adf0a8bfa 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -130,7 +130,7 @@ func runBenchmark(cmd *Command, args []string) bool { } b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "client", "", "", pb.ServerAddresses(*b.masters).ToAddresses()) - go b.masterClient.KeepConnectedToMaster() + go b.masterClient.LoopConnectToMaster() b.masterClient.WaitUntilConnected() if *b.write { |
