diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index 7e11e9fd067..ab1276fefcb 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -4374,7 +4374,7 @@ "properties": { "type": { "type": "string", - "description": "Type of job condition, currently only Complete." + "description": "Type of job condition, Complete or Failed." }, "status": { "type": "string", diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 83d162c9aa4..362fb257bb7 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -3057,7 +3057,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

type

-

Type of job condition, currently only Complete.

+

Type of job condition, Complete or Failed.

true

string

diff --git a/pkg/apis/extensions/types.go b/pkg/apis/extensions/types.go index f4780595b4b..eff26b961d7 100644 --- a/pkg/apis/extensions/types.go +++ b/pkg/apis/extensions/types.go @@ -470,7 +470,7 @@ const ( // JobCondition describes current state of a job. type JobCondition struct { - // Type of job condition, currently only Complete. + // Type of job condition, Complete or Failed. Type JobConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status api.ConditionStatus `json:"status"` diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index e2ad01deec9..2ba338b9d5b 100644 --- a/pkg/apis/extensions/v1beta1/types.go +++ b/pkg/apis/extensions/v1beta1/types.go @@ -468,7 +468,7 @@ const ( // JobCondition describes current state of a job. type JobCondition struct { - // Type of job condition, currently only Complete. + // Type of job condition, Complete or Failed. Type JobConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` diff --git a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index 28686ef86da..88c50e3fc74 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -345,7 +345,7 @@ func (Job) SwaggerDoc() map[string]string { var map_JobCondition = map[string]string{ "": "JobCondition describes current state of a job.", - "type": "Type of job condition, currently only Complete.", + "type": "Type of job condition, Complete or Failed.", "status": "Status of the condition, one of True, False, Unknown.", "lastProbeTime": "Last time the condition was checked.", "lastTransitionTime": "Last time the condition transit from one status to another.",