mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-29 08:20:42 +01:00
Update volume server's master node when masters change.
This commit is contained in:
1 parent
e4f06a7069
commit
0e23ee4dce
1 file changed
+1
@@ -64,6 +64,7 @@ func NewVolumeServer(publicMux, adminMux *http.ServeMux, ip string,
|
||||
if err == nil {
|
||||
if !connected {
|
||||
connected = true
|
||||
vs.masterNode = master
|
||||
glog.V(0).Infoln("Volume Server Connected with master at", master)
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user