Skip to content

Commit

Permalink
add comment to public function
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsgstrabo committed Dec 10, 2024
1 parent 2632b22 commit 07446d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apis/utils/failurepolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
batchv1 "k8s.io/api/batch/v1"
)

// GetPodFailurePolicy converts a RadixJobComponentFailurePolicy into a native Kubernetes batch PodFailurePolicy
func GetPodFailurePolicy(failurePolicy *radixv1.RadixJobComponentFailurePolicy) *batchv1.PodFailurePolicy {
if failurePolicy == nil {
return nil
Expand Down

0 comments on commit 07446d9

Please sign in to comment.