mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 12:48:51 +00:00
Switch to use Too Many Requests response code
Name the 429 status code
This commit is contained in:
@@ -50,10 +50,6 @@ type defaultAPIServer struct {
|
||||
group *APIGroupVersion
|
||||
}
|
||||
|
||||
const (
|
||||
StatusUnprocessableEntity = 422
|
||||
)
|
||||
|
||||
// Handle returns a Handler function that exposes the provided storage interfaces
|
||||
// as RESTful resources at prefix, serialized by codec, and also includes the support
|
||||
// http resources.
|
||||
|
Reference in New Issue
Block a user