aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master_follower.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-11-03 01:09:48 -0700
committerChris Lu <chris.lu@gmail.com>2021-11-03 01:09:48 -0700
commitaf71ae11aa29350a60ed7d3b9a16276a06ba9dcc (patch)
treea59876d14e41191709169276cc18daadeddef820 /weed/command/master_follower.go
parentab97b17e62503066598f9cf9ecaf4dba4ee2d6d8 (diff)
downloadseaweedfs-af71ae11aa29350a60ed7d3b9a16276a06ba9dcc.tar.xz
seaweedfs-af71ae11aa29350a60ed7d3b9a16276a06ba9dcc.zip
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
Diffstat (limited to 'weed/command/master_follower.go')
-rw-r--r--weed/command/master_follower.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master_follower.go b/weed/command/master_follower.go
index 95f1c80b8..791972406 100644
--- a/weed/command/master_follower.go
+++ b/weed/command/master_follower.go
@@ -132,7 +132,7 @@ func startMasterFollower(masterOptions MasterOptions) {
glog.V(0).Infof("Start Seaweed Master %s grpc server at %s:%d", util.Version(), *masterOptions.ip, grpcPort)
go grpcS.Serve(grpcL)
- go ms.MasterClient.KeepConnectedToMaster()
+ go ms.MasterClient.LoopConnectToMaster()
// start http server
httpS := &http.Server{Handler: r}