Skip to content

Commit 48cdf5a

Browse files
authored
Merge pull request kubernetes#89394 from iobuf/cleanup
[apimachinery]: cleanup deprecated const StatusTooManyRequests
2 parents 1b7f566 + 9ad065d commit 48cdf5a

File tree

1 file changed

+0
-8
lines changed
  • staging/src/k8s.io/apimachinery/pkg/api/errors

1 file changed

+0
-8
lines changed

staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ import (
3030
"k8s.io/apimachinery/pkg/util/validation/field"
3131
)
3232

33-
const (
34-
// StatusTooManyRequests means the server experienced too many requests within a
35-
// given window and that the client must wait to perform the action again.
36-
// DEPRECATED: please use http.StatusTooManyRequests, this will be removed in
37-
// the future version.
38-
StatusTooManyRequests = http.StatusTooManyRequests
39-
)
40-
4133
// StatusError is an error intended for consumption by a REST API server; it can also be
4234
// reconstructed by clients from a REST response. Public to allow easy type switches.
4335
type StatusError struct {

0 commit comments

Comments
 (0)