aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_server_evacuate.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-08-23 01:20:45 -0700
committerchrislu <chris.lu@gmail.com>2022-08-23 01:20:45 -0700
commitbf880060375a892f5bb8c9eadcc0ae12b97361f9 (patch)
tree428db88dc08e1aeca847423557689d0792dc0113 /weed/shell/command_volume_server_evacuate.go
parent9fce75607dd4be000c5d316c0e32bdbb0935a147 (diff)
downloadseaweedfs-bf880060375a892f5bb8c9eadcc0ae12b97361f9.tar.xz
seaweedfs-bf880060375a892f5bb8c9eadcc0ae12b97361f9.zip
format
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 671438581..b6d702e3a 100644
--- a/weed/shell/command_volume_server_evacuate.go
+++ b/weed/shell/command_volume_server_evacuate.go
@@ -133,7 +133,7 @@ func (c *commandVolumeServerEvacuate) evacuateNormalVolumes(commandEnv *CommandE
for _, vol := range diskInfo.VolumeInfos {
hasMoved, err := moveAwayOneNormalVolume(commandEnv, volumeReplicas, vol, thisNode, otherNodes, applyChange)
if err != nil {
- fmt.Fprintf(writer, "move away volume %d from %s: %v", vol.Id, volumeServer, err)
+ fmt.Fprintf(writer, "move away volume %d from %s: %v\n", vol.Id, volumeServer, err)
}
if !hasMoved {
if skipNonMoveable {