mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #32786 from aofry/issue-32747
Automatic merge from submit-queue prevent printing of stack trace when proxying 304 requests in api gateway partially addresses #32747.
This commit is contained in:
commit
a2c186dbd0
@ -152,6 +152,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
|
||||
http.StatusNotFound,
|
||||
http.StatusUnauthorized,
|
||||
http.StatusForbidden,
|
||||
http.StatusNotModified,
|
||||
errors.StatusUnprocessableEntity,
|
||||
http.StatusSwitchingProtocols,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user