mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Merge pull request #10569 from yifan-gu/authn
apiservier: avoid stacktracing when http.StatusUnauthorized.
This commit is contained in:
commit
7b55cbb0bd
@ -125,6 +125,8 @@ func RecoverPanics(handler http.Handler) http.Handler {
|
|||||||
http.StatusTemporaryRedirect,
|
http.StatusTemporaryRedirect,
|
||||||
http.StatusConflict,
|
http.StatusConflict,
|
||||||
http.StatusNotFound,
|
http.StatusNotFound,
|
||||||
|
http.StatusUnauthorized,
|
||||||
|
http.StatusForbidden,
|
||||||
errors.StatusUnprocessableEntity,
|
errors.StatusUnprocessableEntity,
|
||||||
http.StatusSwitchingProtocols,
|
http.StatusSwitchingProtocols,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user