mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
controller-manager: restore http logging filter
before refactor, WithPanicRecovery added the http logging filter, but it has been refactored out of WithPanicRecovery. add the http logging filter in the chain to maintain old behavior.
This commit is contained in:
parent
edc7f023a4
commit
b194bc4d46
@ -48,6 +48,7 @@ func BuildHandlerChain(apiHandler http.Handler, authorizationInfo *apiserver.Aut
|
||||
}
|
||||
handler = genericapifilters.WithRequestInfo(handler, requestInfoResolver)
|
||||
handler = genericapifilters.WithCacheControl(handler)
|
||||
handler = genericfilters.WithHTTPLogging(handler)
|
||||
handler = genericfilters.WithPanicRecovery(handler, requestInfoResolver)
|
||||
|
||||
return handler
|
||||
|
Loading…
Reference in New Issue
Block a user