diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-09-07 16:03:05 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-09-07 16:03:05 -0700 |
| commit | d1b816212f2fd535c22ecdc0e84a38b31a3472a3 (patch) | |
| tree | eafa4cc738a0d5e45d8ad873e179c12a9d89699e /weed/shell/command_volume_fix_replication.go | |
| parent | 64a621bcc8e8acfd3eef14e0a08967c759bd84f0 (diff) | |
| download | seaweedfs-d1b816212f2fd535c22ecdc0e84a38b31a3472a3.tar.xz seaweedfs-d1b816212f2fd535c22ecdc0e84a38b31a3472a3.zip | |
return nil if no need to do anything
Diffstat (limited to 'weed/shell/command_volume_fix_replication.go')
| -rw-r--r-- | weed/shell/command_volume_fix_replication.go | 2 |
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 d94e7ded8..735d07800 100644 --- a/weed/shell/command_volume_fix_replication.go +++ b/weed/shell/command_volume_fix_replication.go @@ -97,7 +97,7 @@ func (c *commandVolumeFixReplication) Do(args []string, commandEnv *CommandEnv, } if len(underReplicatedVolumeIds) == 0 { - return fmt.Errorf("no under replicated volumes") + return nil } if len(allLocations) == 0 { |
