mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #14761 from mikedanese/job-doc-fix
Auto commit by PR queue bot
This commit is contained in:
commit
0291668748
@ -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"`
|
||||
}
|
||||
|
||||
|
@ -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"`
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user