Skip to content
Snippets Groups Projects
Commit dd8ed472 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

make carta send correct failure when failing.

parent 53c0a872
No related branches found
No related tags found
1 merge request!1310helps if the parameter names match...
Pipeline #9432 passed
This commit is part of merge request !1310. Comments created here will be created in the context of that merge request.
......@@ -1107,6 +1107,11 @@ class WorkflowMessageHandler:
if wf_request.workflow_name == "carta":
wf_key = "carta-instance-ready"
if event_type == "complete":
# carta exist by killing its processes which condor reads as an error.
# A 'normal' exit 0 for carta is actually a failure and the carta_complete message doesn't exist.
# fix message type
event_type = "failed"
else:
wf_key = wf_request.workflow_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment