Skip to content

Commit

Permalink
Merge pull request #121765 from mimowo/ready-pods-stable-api
Browse files Browse the repository at this point in the history
Fix API comment for the Job ready field
  • Loading branch information
k8s-ci-robot committed Nov 7, 2023
2 parents 0193fae + 9d5b2a4 commit e4b74dd
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/openapi-spec/v3/apis__batch__v1_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
"type": "string"
},
"ready": {
"description": "The number of pods which have a Ready condition.\n\nThis field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).",
"description": "The number of pods which have a Ready condition.",
"format": "int32",
"type": "integer"
},
Expand Down
3 changes: 0 additions & 3 deletions pkg/apis/batch/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,6 @@ type JobStatus struct {
Terminating *int32

// The number of active pods which have a Ready condition.
//
// This field is beta-level. The job controller populates the field when
// the feature gate JobReadyPods is enabled (enabled by default).
// +optional
Ready *int32

Expand Down
2 changes: 1 addition & 1 deletion pkg/generated/openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions staging/src/k8s.io/api/batch/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions staging/src/k8s.io/api/batch/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,6 @@ type JobStatus struct {
UncountedTerminatedPods *UncountedTerminatedPods `json:"uncountedTerminatedPods,omitempty" protobuf:"bytes,8,opt,name=uncountedTerminatedPods"`

// The number of pods which have a Ready condition.
//
// This field is beta-level. The job controller populates the field when
// the feature gate JobReadyPods is enabled (enabled by default).
// +optional
Ready *int32 `json:"ready,omitempty" protobuf:"varint,9,opt,name=ready"`
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4b74dd

Please sign in to comment.