Skip to content

Commit e0eed91

Browse files
Respond to cursor
1 parent ae50fa9 commit e0eed91

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

temporal-sdk/src/main/java/io/temporal/client/WorkflowClientInternalImpl.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public <T> T newWorkflowStub(Class<T> workflowInterface, String workflowId) {
151151

152152
public <T> T newWorkflowStub(
153153
Class<T> workflowInterface, WorkflowTargetOptions workflowTargetOptions) {
154-
return newWorkflowStub(workflowInterface, workflowTargetOptions, true);
154+
return newWorkflowStub(workflowInterface, workflowTargetOptions, false);
155155
}
156156

157157
@Override
@@ -163,7 +163,8 @@ public <T> T newWorkflowStub(
163163
WorkflowTargetOptions.newBuilder()
164164
.setWorkflowId(workflowId)
165165
.setRunId(runId.orElse(null))
166-
.build());
166+
.build(),
167+
true);
167168
}
168169

169170
public <T> T newWorkflowStub(

0 commit comments

Comments
 (0)