From 5264d11ff0015b0eb7ff1897b489f934de8a6d0b Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Thu, 15 Jan 2015 09:37:05 -0500 Subject: [PATCH] Misspelling in save field 'job_status' changed to 'status' --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 54e21e0f48..4e573ae482 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -108,7 +108,7 @@ def tower_periodic_scheduler(self): if not can_start: new_unified_job.status = 'failed' new_unified_job.job_explanation = "Scheduled job could not start because it was not in the right state or required manual credentials" - new_unified_job.save(update_fields=['job_status', 'job_explanation']) + new_unified_job.save(update_fields=['status', 'job_explanation']) new_unified_job.socketio_emit_status("failed") emit_websocket_notification('/socket.io/schedules', 'schedule_changed', dict(id=schedule.id))