From d59e7af2d1649229987b4ea5c4a1613602829294 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Sun, 31 Jul 2022 02:40:46 -0700 Subject: [PATCH] Fix comment above goroutine code --- cmd/itctl/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/itctl/main.go b/cmd/itctl/main.go index a12ddfb..b548126 100644 --- a/cmd/itctl/main.go +++ b/cmd/itctl/main.go @@ -25,7 +25,8 @@ func main() { syscall.SIGTERM, ) - // This goroutine ensures that itc + // This goroutine ensures that itctl will exit + // at most 200ms after the user sends SIGINT/SIGTERM. go func() { <-ctx.Done() time.Sleep(200*time.Millisecond)