Skip to content

Commit

Permalink
Remove ineffective break (#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Nov 10, 2022
1 parent 2a0b30c commit 09e92c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/k8s/spiffe.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ func (sc *SpiffeCertFetcher) Start(ctx context.Context, onStart func()) error {
case <-stopCh:
return sc.client.Close()
default:
break
}
time.Sleep(duration)
}
Expand Down

0 comments on commit 09e92c3

Please sign in to comment.