Skip to content

Commit

Permalink
Fixes #37938 - Reject start-at dates in the past when a job is scheduled
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Fernández Rodríguez <[email protected]>
  • Loading branch information
pafernanr committed Nov 27, 2024
1 parent 230d686 commit 69fcfbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/foreman_tasks/triggering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ def start_at_is_not_past
errors.add(:start_at, _('is in the past')) if !start_at.nil? && Time.zone.parse(start_at_raw) < Time.zone.now
end
end
end
end

0 comments on commit 69fcfbb

Please sign in to comment.