Skip to content

Commit

Permalink
Merge pull request #121764 from mimowo/backoff-limit-per-index-beta-api
Browse files Browse the repository at this point in the history
Fix API comment for the FailIndex Job pod failure policy action
  • Loading branch information
k8s-ci-robot committed Nov 7, 2023
2 parents f927d5b + 1395e2e commit 0193fae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/batch/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const (
// This is an action which might be taken on a pod failure - mark the
// Job's index as failed to avoid restarts within this index. This action
// can only be used when backoffLimitPerIndex is set.
// This value is alpha-level.
// This value is beta-level.
PodFailurePolicyActionFailIndex PodFailurePolicyAction = "FailIndex"

// This is an action which might be taken on a pod failure - the counter towards
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.

1 change: 1 addition & 0 deletions staging/src/k8s.io/api/batch/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ const (
// This is an action which might be taken on a pod failure - mark the
// Job's index as failed to avoid restarts within this index. This action
// can only be used when backoffLimitPerIndex is set.
// This value is beta-level.
PodFailurePolicyActionFailIndex PodFailurePolicyAction = "FailIndex"

// This is an action which might be taken on a pod failure - the counter towards
Expand Down

0 comments on commit 0193fae

Please sign in to comment.