Stopped returning outputs in buildAction. Confirmed working
This commit is contained in:
@@ -22,7 +22,7 @@ def manageFailure(error, action, outputs):
|
||||
else:
|
||||
print(f"{type(error).__name__} detected during {action.name}. Applying recovery policy.")
|
||||
|
||||
outputs, response = buildAction(repair, outputs, None)
|
||||
response = buildAction(repair, outputs, None)
|
||||
|
||||
return outputs
|
||||
print(f"{error}")
|
||||
|
||||
@@ -7,11 +7,11 @@ def buildPreRuntimeAttr(action, outputs, process):
|
||||
from core.runtime.applyconditions import applyConditions
|
||||
from core.runtime.resolver import resolveItem
|
||||
|
||||
outputs = loadSave(action, outputs)
|
||||
loadSave(action, outputs)
|
||||
|
||||
resolved = resolveItem(action, outputs)
|
||||
|
||||
resolved, outputs = readRow(action, resolved, outputs)
|
||||
readRow(action, resolved, outputs)
|
||||
|
||||
match, filter = applyConditions(action, resolved, outputs)
|
||||
|
||||
@@ -19,7 +19,7 @@ def buildPreRuntimeAttr(action, outputs, process):
|
||||
logging.info(filter.get("print"))
|
||||
addStopSignal(action, outputs, process)
|
||||
|
||||
return outputs, resolved, match, filter
|
||||
return resolved, match, filter
|
||||
|
||||
|
||||
def buildRuntimeAttr(action, outputs, resolved, response, process):
|
||||
@@ -48,4 +48,4 @@ def buildRuntimeAttr(action, outputs, resolved, response, process):
|
||||
|
||||
buildLog(action, outputs, response)
|
||||
|
||||
return outputs, response
|
||||
return response
|
||||
Reference in New Issue
Block a user