diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-07-18 16:38:19 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-07-20 18:40:50 +0500 |
| commit | e2d991d8d0529dbd221ea686ca73b9c87234eedb (patch) | |
| tree | c12944f0c7930ae6d8a7394348a3bc812f0927b8 | |
| parent | de4fcc0e2c3578cae784ba4bbcccd8b7d16ffc80 (diff) | |
| download | seaweedfs-e2d991d8d0529dbd221ea686ca73b9c87234eedb.tar.xz seaweedfs-e2d991d8d0529dbd221ea686ca73b9c87234eedb.zip | |
ticker.Stop
| -rw-r--r-- | weed/shell/command_volume_server_evacuate.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/command_volume_server_evacuate.go b/weed/shell/command_volume_server_evacuate.go index d1c474a76..c9df2c79a 100644 --- a/weed/shell/command_volume_server_evacuate.go +++ b/weed/shell/command_volume_server_evacuate.go @@ -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 { |
