Skip to content

Commit

Permalink
Fix API comment for the FailIndex Job pod failure policy action
Browse files Browse the repository at this point in the history
  • Loading branch information
mimowo committed Nov 6, 2023
1 parent cf4d031 commit 1395e2e
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
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
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 1395e2e

Please sign in to comment.