From 6d6d99bcf86aa102cb09e19a0879c57570bd18e3 Mon Sep 17 00:00:00 2001 From: Rebeccah Date: Mon, 24 Feb 2020 14:23:38 -0500 Subject: [PATCH] fixed the spelling of cancelled to be canceled, note to us later -> we need to stick with a single spelling of the word --- awx/main/models/unified_jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/unified_jobs.py b/awx/main/models/unified_jobs.py index f278435636..9f4df503e7 100644 --- a/awx/main/models/unified_jobs.py +++ b/awx/main/models/unified_jobs.py @@ -1218,7 +1218,7 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique status_data['instance_group_name'] = self.instance_group.name else: status_data['instance_group_name'] = None - elif status in ['successful', 'failed', 'cancelled', 'failed']: + elif status in ['successful', 'failed', 'canceled']: status_data['finished'] = self.finished status_data.update(self.websocket_emit_data()) status_data['group_name'] = 'jobs'