fmartingr
/
jeeves
Archived
1
0
Fork 0

Executor: pass arguments to actions

This commit is contained in:
Felipe Martin 2020-04-30 18:27:30 +02:00
parent 5e9d8847ea
commit 12b6c7b338
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class Executor:
try:
action = ActionRegistry.get_action_cls(step.task.type)(parameters=step.task.parameters)
action.parse_parameters_with_arguments(**self._arguments)
step.result = action.execute(workspace=self._execution.workspace)
step.result = action.execute(workspace=self._execution.workspace, arguments=self._arguments)
except Exception as error:
# Catch unhandled exceptions, mark the result as unsuccessful
# and append the error as output.