Browse Source

fix update topologyInfo

pull/3338/head
Konstantin Lebedev 2 years ago
parent
commit
72dca31cfa
  1. 4
      weed/shell/command_volume_server_evacuate.go

4
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

Loading…
Cancel
Save