Skip to content

Commit 9d5b2a4

Browse files
committed
Fix API comment for the Job ready field
1 parent cf4d031 commit 9d5b2a4

File tree

7 files changed

+4
-13
lines changed

7 files changed

+4
-13
lines changed

api/openapi-spec/swagger.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/openapi-spec/v3/apis__batch__v1_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@
447447
"type": "string"
448448
},
449449
"ready": {
450-
"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).",
450+
"description": "The number of pods which have a Ready condition.",
451451
"format": "int32",
452452
"type": "integer"
453453
},

pkg/apis/batch/types.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,6 @@ type JobStatus struct {
449449
Terminating *int32
450450

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

pkg/generated/openapi/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/batch/v1/generated.proto

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/batch/v1/types.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,6 @@ type JobStatus struct {
500500
UncountedTerminatedPods *UncountedTerminatedPods `json:"uncountedTerminatedPods,omitempty" protobuf:"bytes,8,opt,name=uncountedTerminatedPods"`
501501

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

staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)