Browse Source

go fmt

pull/3171/head
chrislu 3 years ago
parent
commit
444ac21050
  1. 2
      weed/server/master_grpc_server.go

2
weed/server/master_grpc_server.go

@ -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

Loading…
Cancel
Save