mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
apiservier: avoid stacktracing for StatusUnauthorized and StatusForbidden.
This commit is contained in:
parent
a014c3bcfe
commit
b30e77c1b3
@ -125,6 +125,8 @@ func RecoverPanics(handler http.Handler) http.Handler {
|
||||
http.StatusTemporaryRedirect,
|
||||
http.StatusConflict,
|
||||
http.StatusNotFound,
|
||||
http.StatusUnauthorized,
|
||||
http.StatusForbidden,
|
||||
errors.StatusUnprocessableEntity,
|
||||
http.StatusSwitchingProtocols,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user