Merge pull request #89394 from iobuf/cleanup

[apimachinery]: cleanup deprecated const StatusTooManyRequests
This commit is contained in:
Kubernetes Prow Robot 2020-03-31 14:15:42 -07:00 committed by GitHub
commit 48cdf5a062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,14 +30,6 @@ import (
"k8s.io/apimachinery/pkg/util/validation/field"
)
const (
// StatusTooManyRequests means the server experienced too many requests within a
// given window and that the client must wait to perform the action again.
// DEPRECATED: please use http.StatusTooManyRequests, this will be removed in
// the future version.
StatusTooManyRequests = http.StatusTooManyRequests
)
// StatusError is an error intended for consumption by a REST API server; it can also be
// reconstructed by clients from a REST response. Public to allow easy type switches.
type StatusError struct {