Skip to content

Commit

Permalink
Fix bug passing params to workflows (opensearch-project#559)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis authored Mar 11, 2024
1 parent 2707210 commit 4bf6e32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ protected void doExecute(Task task, WorkflowRequest request, ActionListener<Work
if (request.isProvision()) {
WorkflowRequest workflowRequest = new WorkflowRequest(
globalContextResponse.getId(),
null
null,
request.getParams()
);
logger.info(
"Provisioning parameter is set, continuing to provision workflow {}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public List<ProcessNode> sortProcessNodes(Workflow workflow, String workflowId,
ProcessNode processNode = new ProcessNode(
node.id(),
step,
params,
node.previousNodeInputs(),
params,
data,
predecessorNodes,
threadPool,
Expand Down

0 comments on commit 4bf6e32

Please sign in to comment.