Merge pull request #19324 from sdminonne/bug_fix

to fix comment for apis.extensions.JobCondition
This commit is contained in:
Daniel Smith 2016-01-12 10:42:24 -08:00
commit a4442c916f
5 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

@ -3057,7 +3057,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">type</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Type of job condition, currently only Complete.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Type of job condition, Complete or Failed.</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
<td class="tableblock halign-left valign-top"></td>

View File

@ -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"`

View File

@ -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"`

View File

@ -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.",