Added post runtime stop signals
This commit is contained in:
@@ -20,6 +20,11 @@ def buildPreRuntimeAttr(action, outputs):
|
|||||||
def buildRuntimeAttr(action, outputs, resolved, response):
|
def buildRuntimeAttr(action, outputs, resolved, response):
|
||||||
outputs, resolved = responsePolicy(response, action, outputs, resolved)
|
outputs, resolved = responsePolicy(response, action, outputs, resolved)
|
||||||
|
|
||||||
|
if not response.ok:
|
||||||
|
if hasattr(action, "depends"):
|
||||||
|
outputs["stopsignals"].append(action.alias)
|
||||||
|
return outputs, response
|
||||||
|
|
||||||
outputs = buildOutput(response, action, outputs)
|
outputs = buildOutput(response, action, outputs)
|
||||||
|
|
||||||
resolved = extractItem(action, outputs, resolved)
|
resolved = extractItem(action, outputs, resolved)
|
||||||
|
|||||||
Reference in New Issue
Block a user