mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 16:47:45 -02:30
remove uneeded post commit wrapper
* Since we changed the lower level method to always use post commit message emit
This commit is contained in:
@@ -382,7 +382,7 @@ class TaskManager():
|
|||||||
))
|
))
|
||||||
task_obj.save()
|
task_obj.save()
|
||||||
_send_notification_templates(task_obj, 'failed')
|
_send_notification_templates(task_obj, 'failed')
|
||||||
connection.on_commit(lambda: task_obj.websocket_emit_status('failed'))
|
task_obj.websocket_emit_status('failed')
|
||||||
|
|
||||||
logger.error("Task %s appears orphaned... marking as failed" % task)
|
logger.error("Task %s appears orphaned... marking as failed" % task)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user