fix update topologyInfo

This commit is contained in:
Konstantin Lebedev 2022-07-18 01:46:31 +05:00
parent 884ffbafee
commit 72dca31cfa

View file

@ -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