mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 02:07:38 +00:00
Merge pull request #18148 from feihujiang/addEnumTypeForStatusReansonConstants
Auto commit by PR queue bot
This commit is contained in:
@@ -239,13 +239,13 @@ const (
|
|||||||
// Details (optional):
|
// Details (optional):
|
||||||
// "causes" - The original error
|
// "causes" - The original error
|
||||||
// Status code 500
|
// Status code 500
|
||||||
StatusReasonInternalError = "InternalError"
|
StatusReasonInternalError StatusReason = "InternalError"
|
||||||
|
|
||||||
// StatusReasonExpired indicates that the request is invalid because the content you are requesting
|
// StatusReasonExpired indicates that the request is invalid because the content you are requesting
|
||||||
// has expired and is no longer available. It is typically associated with watches that can't be
|
// has expired and is no longer available. It is typically associated with watches that can't be
|
||||||
// serviced.
|
// serviced.
|
||||||
// Status code 410 (gone)
|
// Status code 410 (gone)
|
||||||
StatusReasonExpired = "Expired"
|
StatusReasonExpired StatusReason = "Expired"
|
||||||
|
|
||||||
// StatusReasonServiceUnavailable means that the request itself was valid,
|
// StatusReasonServiceUnavailable means that the request itself was valid,
|
||||||
// but the requested service is unavailable at this time.
|
// but the requested service is unavailable at this time.
|
||||||
|
Reference in New Issue
Block a user