ticker.Stop

This commit is contained in:
Konstantin Lebedev 2022-07-18 16:38:19 +05:00
parent 73a0dea16b
commit d422e7769c

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 {