mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 18:52:38 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user