fix error logs

This commit is contained in:
Chris Lu 2019-10-25 09:44:58 -07:00
parent 55a2221eba
commit 71eb8efd20

View file

@ -52,7 +52,7 @@ func (ms *MasterServer) SendHeartbeat(stream master_pb.Seaweed_SendHeartbeatServ
if dn != nil {
glog.Warningf("SendHeartbeat.Recv server %s:%d : %v", dn.Ip, dn.Port, err)
} else {
glog.Warningf("SendHeartbeat.Recv: %v", dn.Ip, dn.Port, err)
glog.Warningf("SendHeartbeat.Recv: %v", err)
}
return err
}