mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix update topologyInfo
This commit is contained in:
parent
884ffbafee
commit
72dca31cfa
|
@ -103,9 +103,9 @@ func (c *commandVolumeServerEvacuate) volumeServerEvacuate(commandEnv *CommandEn
|
||||||
select {
|
select {
|
||||||
default:
|
default:
|
||||||
if topologyInfo, _, err := collectTopologyInfo(commandEnv, topologyInfoUpdateInterval); err != nil {
|
if topologyInfo, _, err := collectTopologyInfo(commandEnv, topologyInfoUpdateInterval); err != nil {
|
||||||
c.topologyInfo = topologyInfo
|
|
||||||
} else {
|
|
||||||
fmt.Fprintf(writer, "update topologyInfo %v", err)
|
fmt.Fprintf(writer, "update topologyInfo %v", err)
|
||||||
|
} else {
|
||||||
|
c.topologyInfo = topologyInfo
|
||||||
}
|
}
|
||||||
case <-stopchan:
|
case <-stopchan:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue