Browse Source

return nil if no need to do anything

pull/1455/head
Chris Lu 4 years ago
parent
commit
d1b816212f
  1. 2
      weed/shell/command_volume_fix_replication.go

2
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 {

Loading…
Cancel
Save