Commit 406e570a authored by David Douard's avatar David Douard
Browse files

[entities] fix a typo introduced in 33bcf6380d51 (closes #16687244)

parent 3dbddb051e52
......@@ -357,6 +357,7 @@ class CeleryTaskAdapter(ICeleryTask):
entity = rset.one()
transition = tr_map[event['type']]
CeleryTaskAdapter.fire_task_transition(
cnx,
entity, transition, event.get('exception'))
@staticmethod
......@@ -374,6 +375,7 @@ class CeleryTaskAdapter(ICeleryTask):
}.get(result.state)
if transition is not None:
CeleryTaskAdapter.fire_task_transition(
cnx,
cnx.entity_from_eid(task_eid),
transition, result.traceback)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment