mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +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.StatusMovedPermanently,
|
||||
http.StatusTemporaryRedirect,
|
||||
http.StatusBadRequest,
|
||||
http.StatusNotFound,
|
||||
http.StatusSwitchingProtocols,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user