Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRoesler authored Feb 25, 2025
1 parent f271bbf commit ca95c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion job.go
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ type cronJob struct {
}

func (j *cronJob) next(lastRun time.Time) time.Time {
return j.cronSchedule.Next(j.crontab, lastRun)
return j.cronSchedule.Next(lastRun)
}

var _ jobSchedule = (*durationJob)(nil)
Expand Down

0 comments on commit ca95c88

Please sign in to comment.