Skip to content

Commit f929adc

Browse files
lantian789yycptt
andauthored
Fix the problem of ignoring the detail parameter in TerminateWorkflow function (#1066)
TerminateWorkflowExecutionRequest has the details fields, but it was not included in the request and the details parameter passed to this function is unused. It should be included in the request so that detail parameter passed into this function is used. Co-authored-by: Yichao Yang <[email protected]>
1 parent 7e65cc2 commit f929adc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/internal_workflow_client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ func (wc *workflowClient) TerminateWorkflow(ctx context.Context, workflowID stri
473473
RunId: getRunID(runID),
474474
},
475475
Reason: common.StringPtr(reason),
476+
Details: details,
476477
Identity: common.StringPtr(wc.identity),
477478
}
478479

0 commit comments

Comments
 (0)