Merge pull request #14761 from mikedanese/job-doc-fix

Auto commit by PR queue bot
pull/6/head
k8s-merge-robot 2015-10-02 18:08:14 -07:00
commit 0291668748
3 changed files with 3 additions and 5 deletions

View File

@ -435,8 +435,7 @@ type JobStatus struct {
// Successful is the number of pods which reached Phase Succeeded.
Successful int `json:"successful,omitempty"`
// Unsuccessful is the number of pods failures, this applies only to jobs
// created with RestartPolicyNever, otherwise this value will always be 0.
// Unsuccessful is the number of pods which reached Phase Failed.
Unsuccessful int `json:"unsuccessful,omitempty"`
}

View File

@ -444,8 +444,7 @@ type JobStatus struct {
// Successful is the number of pods which reached Phase Succeeded.
Successful int `json:"successful,omitempty"`
// Unsuccessful is the number of pods failures, this applies only to jobs
// created with RestartPolicyNever, otherwise this value will always be 0.
// Unsuccessful is the number of pods which reached Phase Failed.
Unsuccessful int `json:"unsuccessful,omitempty"`
}

View File

@ -319,7 +319,7 @@ var map_JobStatus = map[string]string{
"completionTime": "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.",
"active": "Active is the number of actively running pods.",
"successful": "Successful is the number of pods which reached Phase Succeeded.",
"unsuccessful": "Unsuccessful is the number of pods failures, this applies only to jobs created with RestartPolicyNever, otherwise this value will always be 0.",
"unsuccessful": "Unsuccessful is the number of pods which reached Phase Failed.",
}
func (JobStatus) SwaggerDoc() map[string]string {