aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_configure_replication.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_volume_configure_replication.go')
-rw-r--r--weed/shell/command_volume_configure_replication.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_configure_replication.go b/weed/shell/command_volume_configure_replication.go
index bc1ca5304..c54efd05c 100644
--- a/weed/shell/command_volume_configure_replication.go
+++ b/weed/shell/command_volume_configure_replication.go
@@ -60,7 +60,7 @@ func (c *commandVolumeConfigureReplication) Do(args []string, commandEnv *Comman
replicaPlacement, err := super_block.NewReplicaPlacementFromString(*replicationString)
if err != nil {
- return fmt.Errorf("replication format: %v", err)
+ return fmt.Errorf("replication format: %w", err)
}
// collect topology information