From 7ca75347ec71c815e7edfff42a53cbe4b57bc7dd Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 7 May 2021 21:56:45 -0700 Subject: [PATCH] minor --- weed/server/volume_grpc_copy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/volume_grpc_copy.go b/weed/server/volume_grpc_copy.go index cf9f9f777..086591e97 100644 --- a/weed/server/volume_grpc_copy.go +++ b/weed/server/volume_grpc_copy.go @@ -151,7 +151,7 @@ todo: maybe should check the received count and deleted count of the volume func checkCopyFiles(originFileInf *volume_server_pb.ReadVolumeFileStatusResponse, idxFileName, datFileName string) error { stat, err := os.Stat(idxFileName) if err != nil { - return fmt.Errorf("stat idx file %s failed, %v", idxFileName, err) + return fmt.Errorf("stat idx file %s failed: %v", idxFileName, err) } if originFileInf.IdxFileSize != uint64(stat.Size()) { return fmt.Errorf("idx file %s size [%v] is not same as origin file size [%v]",