ticker.Stop

This commit is contained in:
Konstantin Lebedev 2022-07-18 16:38:19 +05:00
parent de4fcc0e2c
commit e2d991d8d0

View File

@ -118,6 +118,7 @@ func (c *commandVolumeServerEvacuate) evacuateNormalVolumes(commandEnv *CommandE
// move away normal volumes
ticker := time.NewTicker(topologyInfoUpdateInterval)
defer ticker.Stop()
for _, thisNode := range thisNodes {
for _, diskInfo := range thisNode.info.DiskInfos {
if applyChange {