aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_server_evacuate.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-07-21 14:38:12 -0700
committerChris Lu <chris.lu@gmail.com>2021-07-21 14:38:12 -0700
commit7359193e974e8ee30d2b2625ae30008ad940d1a6 (patch)
tree4ff6c24a6b7cf3ba797eb0c9a014dc8ab9468bad /weed/shell/command_volume_server_evacuate.go
parentcc32436d63a433b436ab74c99fe7246242a83716 (diff)
downloadseaweedfs-7359193e974e8ee30d2b2625ae30008ad940d1a6.tar.xz
seaweedfs-7359193e974e8ee30d2b2625ae30008ad940d1a6.zip
go fmt
Diffstat (limited to 'weed/shell/command_volume_server_evacuate.go')
-rw-r--r--weed/shell/command_volume_server_evacuate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_server_evacuate.go b/weed/shell/command_volume_server_evacuate.go
index fb9bf79c6..6e0c19ae1 100644
--- a/weed/shell/command_volume_server_evacuate.go
+++ b/weed/shell/command_volume_server_evacuate.go
@@ -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
}