mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix test error
This commit is contained in:
parent
b18ce7abf9
commit
ca2b81a944
|
@ -249,7 +249,7 @@ func (ms *MasterServer) KeepConnected(stream master_pb.Seaweed_KeepConnectedServ
|
|||
func (ms *MasterServer) informNewLeader(stream master_pb.Seaweed_KeepConnectedServer) error {
|
||||
leader, err := ms.Topo.Leader()
|
||||
if err != nil {
|
||||
glog.Error("topo leader: %v", err)
|
||||
glog.Errorf("topo leader: %v", err)
|
||||
return raft.NotLeaderError
|
||||
}
|
||||
if err := stream.Send(&master_pb.VolumeLocation{
|
||||
|
|
Loading…
Reference in a new issue