Merge pull request #18148 from feihujiang/addEnumTypeForStatusReansonConstants

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-12-09 03:35:55 -08:00

View File

@@ -239,13 +239,13 @@ const (
// Details (optional):
// "causes" - The original error
// Status code 500
StatusReasonInternalError = "InternalError"
StatusReasonInternalError StatusReason = "InternalError"
// 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
// serviced.
// Status code 410 (gone)
StatusReasonExpired = "Expired"
StatusReasonExpired StatusReason = "Expired"
// StatusReasonServiceUnavailable means that the request itself was valid,
// but the requested service is unavailable at this time.