Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
FMotalleb committed Jun 16, 2024
1 parent 5e50e1e commit aac446c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (s *JobEvent) Validate(log *logrus.Entry) error {
schedules := []bool{
s.Interval != 0,
s.Cron != "",
s.OnInit == true,
s.OnInit,
}
activeSchedules := 0
for _, t := range schedules {
Expand Down

0 comments on commit aac446c

Please sign in to comment.