From db1c252389b32cf0317b05018cabca74d74345ab Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Wed, 11 Oct 2023 08:31:44 -0700 Subject: [PATCH] Add identity to Terminate call --- .../io/temporal/internal/client/RootWorkflowClientInvoker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/temporal-sdk/src/main/java/io/temporal/internal/client/RootWorkflowClientInvoker.java b/temporal-sdk/src/main/java/io/temporal/internal/client/RootWorkflowClientInvoker.java index ca5310b40..38763bba1 100644 --- a/temporal-sdk/src/main/java/io/temporal/internal/client/RootWorkflowClientInvoker.java +++ b/temporal-sdk/src/main/java/io/temporal/internal/client/RootWorkflowClientInvoker.java @@ -484,6 +484,7 @@ public TerminateOutput terminate(TerminateInput input) { TerminateWorkflowExecutionRequest.Builder request = TerminateWorkflowExecutionRequest.newBuilder() .setNamespace(clientOptions.getNamespace()) + .setIdentity(clientOptions.getIdentity()) .setWorkflowExecution(input.getWorkflowExecution()); if (input.getReason() != null) { request.setReason(input.getReason());