mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-15 10:38:35 +02:00
return nil if no need to do anything
This commit is contained in:
1 parent
64a621bcc8
commit
d1b816212f
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user