diff --git a/pkg/util/timeutil/timer.go b/pkg/util/timeutil/timer.go index 57736bfb2b33..41934174f9b3 100644 --- a/pkg/util/timeutil/timer.go +++ b/pkg/util/timeutil/timer.go @@ -39,7 +39,7 @@ var timeTimerPool sync.Pool // defer timer.Stop() // for { // timer.Reset(wait) -// switch { +// select { // case <-timer.C: // timer.Read = true // ...