Skip to content

Commit 1c09332

Browse files
authored
Fix parameter ordering bug in TaskHubClient.cs (#1219)
Fixed a bug in `CreateOrchestrationInstanceAsync` where the `startAt` parameter was incorrectly passed as the 8th argument to `InternalCreateOrchestrationInstanceWithRaisedEventAsync`, which expects `startAt` as the 9th parameter. Updated the method call to correctly pass `startAt` as the 9th argument, preserving the correct order of optional parameters
1 parent d9bc4d4 commit 1c09332

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DurableTask.Core/TaskHubClient.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ public Task<OrchestrationInstance> CreateOrchestrationInstanceAsync(Type orchest
182182
null,
183183
null,
184184
null,
185+
null,
185186
startAt);
186187
}
187188

@@ -1042,4 +1043,4 @@ public Task PurgeOrchestrationInstanceHistoryAsync(
10421043
return this.ServiceClient.PurgeOrchestrationHistoryAsync(thresholdDateTimeUtc, timeRangeFilterType);
10431044
}
10441045
}
1045-
}
1046+
}

0 commit comments

Comments
 (0)