mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Do not log stack trace for the error http.StatusBadRequest (400).
This commit is contained in:
parent
850c586b69
commit
feaeb2a25c
@ -960,6 +960,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
|||||||
http.StatusOK,
|
http.StatusOK,
|
||||||
http.StatusMovedPermanently,
|
http.StatusMovedPermanently,
|
||||||
http.StatusTemporaryRedirect,
|
http.StatusTemporaryRedirect,
|
||||||
|
http.StatusBadRequest,
|
||||||
http.StatusNotFound,
|
http.StatusNotFound,
|
||||||
http.StatusSwitchingProtocols,
|
http.StatusSwitchingProtocols,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user