From 17d0f26e839b437d70ea4dfcdefb989a35d52c34 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 13 Oct 2021 21:28:14 +0100 Subject: [PATCH] Update comment --- cmd/telegraf/telegraf_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/telegraf/telegraf_windows.go b/cmd/telegraf/telegraf_windows.go index d4426f4b6ea45..11f05b32b95a4 100644 --- a/cmd/telegraf/telegraf_windows.go +++ b/cmd/telegraf/telegraf_windows.go @@ -49,7 +49,7 @@ func (p *program) run() { func (p *program) Stop(s service.Service) error { var empty struct{} stop <- empty // signal reloadLoop to finish (context cancel) - <-stop // wait for reloadLoop to finish and channel to close + <-stop // wait for reloadLoop to finish and close channel return nil }