Browse Source

fix test error

pull/1026/head
Chris Lu 6 years ago
parent
commit
ca2b81a944
  1. 2
      weed/server/master_grpc_server.go

2
weed/server/master_grpc_server.go

@ -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…
Cancel
Save