Skip to content

Commit

Permalink
clean up lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Du Zheng <zsuzhengdu@gmail.com>
  • Loading branch information
zsuzhengdu committed Apr 2, 2021
1 parent 5a4a378 commit 463f9dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/reloader/reloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,10 +569,8 @@ config:
for {
select {
case <-ctx.Done():
fmt.Println("cancelled")
break
case <-time.After(300 * time.Millisecond):
fmt.Println("timeout")
}

if reloads.Load().(int) == 1 {
Expand Down

0 comments on commit 463f9dd

Please sign in to comment.