From ca2b81a944b995fd7ffafdb7e0bf6eb8df1ecdcb Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 31 Jul 2019 02:09:04 -0700 Subject: [PATCH] fix test error --- weed/server/master_grpc_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/master_grpc_server.go b/weed/server/master_grpc_server.go index 9e1b2e427..6fa509e77 100644 --- a/weed/server/master_grpc_server.go +++ b/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{