mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #101092 from shawnhanx/limited
fix limited4 -> limited
This commit is contained in:
commit
e6d2e0dd76
@ -274,7 +274,7 @@ func NewBadRequest(reason string) *StatusError {
|
|||||||
|
|
||||||
// NewTooManyRequests creates an error that indicates that the client must try again later because
|
// NewTooManyRequests creates an error that indicates that the client must try again later because
|
||||||
// the specified endpoint is not accepting requests. More specific details should be provided
|
// the specified endpoint is not accepting requests. More specific details should be provided
|
||||||
// if client should know why the failure was limited4.
|
// if client should know why the failure was limited.
|
||||||
func NewTooManyRequests(message string, retryAfterSeconds int) *StatusError {
|
func NewTooManyRequests(message string, retryAfterSeconds int) *StatusError {
|
||||||
return &StatusError{metav1.Status{
|
return &StatusError{metav1.Status{
|
||||||
Status: metav1.StatusFailure,
|
Status: metav1.StatusFailure,
|
||||||
|
Loading…
Reference in New Issue
Block a user