Skip to content

Commit

Permalink
Merge pull request #317 from danielvegamyhre/typo
Browse files Browse the repository at this point in the history
Fix typo in API comments
  • Loading branch information
k8s-ci-robot authored Oct 19, 2023
2 parents 7c09102 + acbafc8 commit cd54802
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/jobset/v1alpha2/jobset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type JobSetSpec struct {

// FailurePolicy, if set, configures when to declare the JobSet as
// failed.
// The JobSet is always declared failed if all jobs in the set
// The JobSet is always declared failed if any job in the set
// finished with status failed.
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
FailurePolicy *FailurePolicy `json:"failurePolicy,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion api/jobset/v1alpha2/openapi_generated.go

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

2 changes: 1 addition & 1 deletion config/components/crd/bases/jobset.x-k8s.io_jobsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
properties:
failurePolicy:
description: FailurePolicy, if set, configures when to declare the
JobSet as failed. The JobSet is always declared failed if all jobs
JobSet as failed. The JobSet is always declared failed if any job
in the set finished with status failed.
properties:
maxRestarts:
Expand Down
2 changes: 1 addition & 1 deletion hack/python-sdk/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"type": "object",
"properties": {
"failurePolicy": {
"description": "FailurePolicy, if set, configures when to declare the JobSet as failed. The JobSet is always declared failed if all jobs in the set finished with status failed.",
"description": "FailurePolicy, if set, configures when to declare the JobSet as failed. The JobSet is always declared failed if any job in the set finished with status failed.",
"$ref": "#/definitions/jobset.v1alpha2.FailurePolicy"
},
"network": {
Expand Down

0 comments on commit cd54802

Please sign in to comment.