Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix schedule.run_job - Port upstream PR#54799 #194

Merged
merged 1 commit into from
Dec 17, 2019

Conversation

dincamihai
Copy link
Contributor

@dincamihai dincamihai commented Dec 12, 2019

Port upstream PR saltstack/salt#54799

If a scheduled job does not contains a time element parameter then running that job with schedule.run_job fails with a traceback because data['run'] does not exist.

Fixing lint.

Fixing test_run_job test to ensure the right data is being asserted.  Updating unit/test_module_names.py to include integration.scheduler.test_run_job.

Removing extra, unnecessary code.
@dincamihai dincamihai requested a review from brejoc December 12, 2019 09:24
Copy link
Member

@brejoc brejoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@meaksh meaksh merged commit d39d001 into openSUSE-2019.2.0 Dec 17, 2019
@meaksh meaksh deleted the staltstack-PR#54799 branch December 17, 2019 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants