return nil if no need to do anything
This commit is contained in:
@@ -97,7 +97,7 @@ func (c *commandVolumeFixReplication) Do(args []string, commandEnv *CommandEnv,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(underReplicatedVolumeIds) == 0 {
|
if len(underReplicatedVolumeIds) == 0 {
|
||||||
return fmt.Errorf("no under replicated volumes")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(allLocations) == 0 {
|
if len(allLocations) == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user