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-18 16:38:19 +0500 |
| commit | d422e7769c7f52cd250c3bf8ced279cfef8c8ef0 (patch) | |
| tree | 77a0ebe1cd65290430cf42067932022fc132f94e | |
| parent | 73a0dea16bb72a9f8b8d89cd53ce3f92092af5fb (diff) | |
| download | seaweedfs-d422e7769c7f52cd250c3bf8ced279cfef8c8ef0.tar.xz seaweedfs-d422e7769c7f52cd250c3bf8ced279cfef8c8ef0.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 { |
