diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-07-18 01:46:31 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-07-20 18:40:50 +0500 |
| commit | 72dca31cfa64b6a60633578f8ba924b645db74ba (patch) | |
| tree | 2ba2ffc6794c2dbaf5638265204bd7902dd99a6b /weed/shell | |
| parent | 884ffbafeedf380c5d1f81208577eddae0bc6311 (diff) | |
| download | seaweedfs-72dca31cfa64b6a60633578f8ba924b645db74ba.tar.xz seaweedfs-72dca31cfa64b6a60633578f8ba924b645db74ba.zip | |
fix update topologyInfo
Diffstat (limited to 'weed/shell')
| -rw-r--r-- | weed/shell/command_volume_server_evacuate.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_volume_server_evacuate.go b/weed/shell/command_volume_server_evacuate.go index 3b0c8381b..0595ef308 100644 --- a/weed/shell/command_volume_server_evacuate.go +++ b/weed/shell/command_volume_server_evacuate.go @@ -103,9 +103,9 @@ func (c *commandVolumeServerEvacuate) volumeServerEvacuate(commandEnv *CommandEn select { default: if topologyInfo, _, err := collectTopologyInfo(commandEnv, topologyInfoUpdateInterval); err != nil { - c.topologyInfo = topologyInfo - } else { fmt.Fprintf(writer, "update topologyInfo %v", err) + } else { + c.topologyInfo = topologyInfo } case <-stopchan: return |
