Skip to content

Commit 09bfe58

Browse files
andystaplesCopilot
andauthored
Update durabletask/worker.py
Co-authored-by: Copilot <[email protected]>
1 parent cd9e47e commit 09bfe58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

durabletask/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ def execute(
12351235
) -> ExecutionResults:
12361236
orchestration_name = "<unknown>"
12371237
orchestration_started_events = [e for e in old_events if e.HasField("executionStarted")]
1238-
if len(orchestration_started_events) > 1:
1238+
if len(orchestration_started_events) >= 1:
12391239
orchestration_name = orchestration_started_events[0].executionStarted.name
12401240

12411241
self._logger.info(

0 commit comments

Comments
 (0)