From ce55922884460502e21bfcba7c98667bee64b2b4 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 12 Sep 2022 09:43:54 -0700 Subject: [PATCH] fixing --- weed/server/volume_grpc_admin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/server/volume_grpc_admin.go b/weed/server/volume_grpc_admin.go index 34babe6b2..8fa6e27f0 100644 --- a/weed/server/volume_grpc_admin.go +++ b/weed/server/volume_grpc_admin.go @@ -158,7 +158,7 @@ func (vs *VolumeServer) VolumeMarkReadonly(ctx context.Context, req *volume_serv return nil }); grpcErr != nil { glog.V(0).Infof("connect to %s: %v", vs.GetMaster(), grpcErr) - return resp, fmt.Errorf("grpc VolumeMarkReadonly with master: %v", vs.GetMaster(), grpcErr) + return resp, fmt.Errorf("grpc VolumeMarkReadonly with master %s: %v", vs.GetMaster(), grpcErr) } err := vs.store.MarkVolumeReadonly(needle.VolumeId(req.VolumeId)) @@ -186,7 +186,7 @@ func (vs *VolumeServer) VolumeMarkWritable(ctx context.Context, req *volume_serv return nil }); grpcErr != nil { glog.V(0).Infof("connect to %s: %v", vs.GetMaster(), grpcErr) - return resp, fmt.Errorf("grpc VolumeMarkWritable with master: %v", vs.GetMaster(), grpcErr) + return resp, fmt.Errorf("grpc VolumeMarkWritable with master %s: %v", vs.GetMaster(), grpcErr) } err := vs.store.MarkVolumeWritable(needle.VolumeId(req.VolumeId))