aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-05-17 20:27:10 -0700
committerChris Lu <chris.lu@gmail.com>2020-05-17 20:27:10 -0700
commit8005786d9ad5bff720f255952810045108e8de70 (patch)
tree36ff1e0b690df07885c4c606df97dc8051fc6b29
parent75179544c35575be09f09f32103d5eb4562d28d1 (diff)
downloadseaweedfs-8005786d9ad5bff720f255952810045108e8de70.tar.xz
seaweedfs-8005786d9ad5bff720f255952810045108e8de70.zip
logs
-rw-r--r--weed/shell/command_volume_fix_replication.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go
index d16a89434..19da89b67 100644
--- a/weed/shell/command_volume_fix_replication.go
+++ b/weed/shell/command_volume_fix_replication.go
@@ -121,7 +121,7 @@ func (c *commandVolumeFixReplication) Do(args []string, commandEnv *CommandEnv,
VolumeId: volumeInfo.Id,
SourceDataNode: sourceNode.dataNode.Id,
})
- return replicateErr
+ return fmt.Errorf("copying from %s => %s : %v", sourceNode.dataNode.Id, dst.dataNode.Id, replicateErr)
})
if err != nil {