mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
ticker.Stop
This commit is contained in:
parent
73a0dea16b
commit
d422e7769c
|
@ -118,6 +118,7 @@ func (c *commandVolumeServerEvacuate) evacuateNormalVolumes(commandEnv *CommandE
|
||||||
|
|
||||||
// move away normal volumes
|
// move away normal volumes
|
||||||
ticker := time.NewTicker(topologyInfoUpdateInterval)
|
ticker := time.NewTicker(topologyInfoUpdateInterval)
|
||||||
|
defer ticker.Stop()
|
||||||
for _, thisNode := range thisNodes {
|
for _, thisNode := range thisNodes {
|
||||||
for _, diskInfo := range thisNode.info.DiskInfos {
|
for _, diskInfo := range thisNode.info.DiskInfos {
|
||||||
if applyChange {
|
if applyChange {
|
||||||
|
|
Loading…
Reference in a new issue