We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dca33cb commit 9351414Copy full SHA for 9351414
pkg/webhook/server.go
@@ -257,7 +257,7 @@ func (s *DefaultServer) Start(ctx context.Context) error {
257
// migrating clients to server instances that are not about to shutdown
258
srv.SetKeepAlivesEnabled(false)
259
// Wait before shutting down webhook server
260
- <-time.After(s.Options.ShutdownDelay)
+ time.Sleep(s.Options.ShutdownDelay)
261
262
log.Info("Shutting down webhook server with timeout of 1 minute")
263
0 commit comments