fix typo in genericapiserver.go

runnning -> running
This commit is contained in:
Ikko Ashimine 2022-03-20 23:29:01 +09:00 committed by GitHub
parent 475f7af1c1
commit a3f66a4597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -428,7 +428,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