From 2a477907735d517180ea0c951cb93b1124964636 Mon Sep 17 00:00:00 2001 From: Bruce Zou Date: Sun, 1 Dec 2024 09:33:30 +0800 Subject: [PATCH] fix RemoteVids append --- weed/server/master_grpc_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/master_grpc_server.go b/weed/server/master_grpc_server.go index 0558c2cf4..f80b9a280 100644 --- a/weed/server/master_grpc_server.go +++ b/weed/server/master_grpc_server.go @@ -203,7 +203,7 @@ func (ms *MasterServer) SendHeartbeat(stream master_pb.Seaweed_SendHeartbeatServ for _, v := range newVolumes { glog.V(0).Infof("master see new volume %d from %s", uint32(v.Id), dn.Url()) if v.DataInRemote { - message.NewVids = append(message.RemoteVids, uint32(v.Id)) + message.RemoteVids = append(message.RemoteVids, uint32(v.Id)) } else { message.NewVids = append(message.NewVids, uint32(v.Id)) }