aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-11-05 17:52:15 -0700
committerChris Lu <chris.lu@gmail.com>2021-11-05 17:52:15 -0700
commit5ea86ef1dabfa6267eb68c1ef82939910f2d3505 (patch)
tree2957313fd024567eb8bb410468f1355c6706ae7a /weed/command/benchmark.go
parent314c32514b1134f5605ca8bc3e1cdf785943b53b (diff)
downloadseaweedfs-5ea86ef1dabfa6267eb68c1ef82939910f2d3505.tar.xz
seaweedfs-5ea86ef1dabfa6267eb68c1ef82939910f2d3505.zip
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa29350a60ed7d3b9a16276a06ba9dcc.
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 adf0a8bfa..af5919adf 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.LoopConnectToMaster()
+ go b.masterClient.KeepConnectedToMaster()
b.masterClient.WaitUntilConnected()
if *b.write {