Browse Source

format

pull/3499/head
chrislu 2 years ago
parent
commit
bf88006037
  1. 2
      weed/shell/command_volume_server_evacuate.go

2
weed/shell/command_volume_server_evacuate.go

@ -133,7 +133,7 @@ func (c *commandVolumeServerEvacuate) evacuateNormalVolumes(commandEnv *CommandE
for _, vol := range diskInfo.VolumeInfos { for _, vol := range diskInfo.VolumeInfos {
hasMoved, err := moveAwayOneNormalVolume(commandEnv, volumeReplicas, vol, thisNode, otherNodes, applyChange) hasMoved, err := moveAwayOneNormalVolume(commandEnv, volumeReplicas, vol, thisNode, otherNodes, applyChange)
if err != nil { 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 !hasMoved {
if skipNonMoveable { if skipNonMoveable {

Loading…
Cancel
Save