mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 22:40:39 +02:00
fix update topologyInfo
This commit is contained in:
1 parent
884ffbafee
commit
72dca31cfa
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user