This commit is contained in:
chrislu 2022-06-11 09:51:11 -07:00
parent a74e926063
commit 444ac21050

View file

@ -113,7 +113,7 @@ func (ms *MasterServer) SendHeartbeat(stream master_pb.Seaweed_SendHeartbeatServ
uuidlist, err := ms.RegisterUuids(heartbeat) uuidlist, err := ms.RegisterUuids(heartbeat)
if err != nil { if err != nil {
if stream_err := stream.Send(&master_pb.HeartbeatResponse{ if stream_err := stream.Send(&master_pb.HeartbeatResponse{
DuplicatedUuids: uuidlist, DuplicatedUuids: uuidlist,
}); stream_err != nil { }); stream_err != nil {
glog.Warningf("SendHeartbeat.Send DuplicatedDirectory response to %s:%d %v", dn.Ip, dn.Port, stream_err) glog.Warningf("SendHeartbeat.Send DuplicatedDirectory response to %s:%d %v", dn.Ip, dn.Port, stream_err)
return stream_err return stream_err