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:
Abu Kashem 2021-04-15 10:24:48 -04:00
parent edc7f023a4
commit b194bc4d46
No known key found for this signature in database
GPG Key ID: 33A4FA7088DB68A9

View File

@ -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