fixed the spelling of cancelled to be canceled, note to us later -> we need to stick with a single spelling of the word

This commit is contained in:
Rebeccah 2020-02-24 14:23:38 -05:00
parent a6cd32522f
commit 6d6d99bcf8

View File

@ -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'