Skip to content

Commit

Permalink
timeutil: fix timer example
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
andreimatei committed Nov 5, 2021
1 parent 0244547 commit be2c4b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/timeutil/timer.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var timeTimerPool sync.Pool
// defer timer.Stop()
// for {
// timer.Reset(wait)
// switch {
// select {
// case <-timer.C:
// timer.Read = true
// ...
Expand Down

0 comments on commit be2c4b3

Please sign in to comment.