Skip to content

Commit

Permalink
correct backofflimit
Browse files Browse the repository at this point in the history
  • Loading branch information
Younes BAMI committed May 24, 2023
1 parent ebd1688 commit ab54a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/internal/cronjob/v1beta1.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func (c CronJobV1beta1) StartingDeadlineSeconds() *int64 {
return c.Obj.Spec.StartingDeadlineSeconds
}

func (c CronJobV1) BackoffLimit() *int32 {
func (c CronJobV1beta1) BackoffLimit() *int32 {
return c.Obj.Spec.JobTemplate.Spec.BackoffLimit
}

Expand Down

0 comments on commit ab54a31

Please sign in to comment.