Merge pull request #108833 from eltociear/patch-8

fix typo in genericapiserver.go

Kubernetes-commit: e526241a9a0f6f1acc2ad1a60167946f27bdd250
This commit is contained in:
Kubernetes Publisher 2022-06-24 02:26:57 -07:00
commit e0ef800977
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ func (s preparedGenericAPIServer) Run(stopCh <-chan struct{}) error {
if s.ShutdownSendRetryAfter {
// when this mode is enabled, we do the following:
// - the server will continue to listen until all existing requests in flight
// (not including active long runnning requests) have been drained.
// (not including active long running requests) have been drained.
// - once drained, http Server Shutdown is invoked with a timeout of 2s,
// net/http waits for 1s for the peer to respond to a GO_AWAY frame, so
// we should wait for a minimum of 2s