Bug fixes from integration ran on launchtime branch

Make error message for muti-vault validation more
consistent with historical message
This commit is contained in:
AlanCoding
2017-12-07 13:37:28 -05:00
parent 72a8854c27
commit 1c8217936d
11 changed files with 38 additions and 36 deletions
+2 -8
View File
@@ -307,14 +307,8 @@ def awx_periodic_scheduler(self):
logger.warn("Cache timeout is in the future, bypassing schedule for template %s" % str(template.id))
continue
try:
prompts = schedule.get_job_kwargs()
new_unified_job = schedule.unified_job_template.create_unified_job(
_eager_fields=dict(
launch_type='scheduled',
schedule=schedule
),
**prompts
)
job_kwargs = schedule.get_job_kwargs()
new_unified_job = schedule.unified_job_template.create_unified_job(**job_kwargs)
can_start = new_unified_job.signal_start()
except Exception:
logger.exception('Error spawning scheduled job.')