Skip to content

Commit 7aa7e2c

Browse files
committed
chore: Fix get orchestrator bug
Signed-off-by: Javier Aliaga <javier@diagrid.io>
1 parent e87a02c commit 7aa7e2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

durabletask-client/src/main/java/io/dapr/durabletask/orchestration/TaskOrchestrationFactories.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ public TaskOrchestrationFactory getOrchestrationFactory(String orchestrationName
7979
* @return the orchestration factory
8080
*/
8181
public TaskOrchestrationFactory getOrchestrationFactory(String orchestrationName, String versionName) {
82+
if (this.orchestrationFactories.containsKey(orchestrationName)) {
83+
return this.orchestrationFactories.get(orchestrationName);
84+
}
85+
8286
if (!this.versionedOrchestrationFactories.containsKey(orchestrationName)) {
8387
return null;
8488
}

0 commit comments

Comments
 (0)