This commit is contained in:
Chris Lu committed 2021-07-21 14:38:12 -07:00
1 parent cc32436d63
commit 7359193e97
8 files changed
+16 -17

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ func (c *commandVolumeServerEvacuate) Do(args []string, commandEnv *CommandEnv,
return fmt.Errorf("need to specify volume server by -node=<host>:<port>")
}
for i:=0;i<*retryCount+1;i++{
for i := 0; i < *retryCount+1; i++ {
if err = volumeServerEvacuate(commandEnv, *volumeServer, *skipNonMoveable, *applyChange, writer); err == nil {
return nil
}