Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix to scheduler when job without a time element is run with schedule.run_job #54799
What does this PR do?
If a scheduled job does not contains a time element parameter, running that job with schedule.run_job fails and causes a traceback because data['run'] does not exist.
What issues does this PR fix or reference?
Jobs without time elements when run with "schedule.run_job" failed with traceback.
Ensure data['run'] exists and handle situations when it does not. Jobs run as expected.
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.