Skip to content

Commit

Permalink
Fixed issue: the filter passed to PurgeAllInstancesAsync is now used,…
Browse files Browse the repository at this point in the history
… instead of creating a new fitler.
  • Loading branch information
JohanKlijnCyberTwice committed Apr 18, 2024
1 parent d9438aa commit 7f69ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Core/DurableTaskClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public virtual Task<PurgeResult> PurgeInstanceAsync(

/// <inheritdoc cref="PurgeAllInstancesAsync(PurgeInstancesFilter, PurgeInstanceOptions, CancellationToken)"/>
public virtual Task<PurgeResult> PurgeAllInstancesAsync(PurgeInstancesFilter filter, CancellationToken cancellation)
=> this.PurgeAllInstancesAsync(new PurgeInstancesFilter(), null, cancellation);
=> this.PurgeAllInstancesAsync(filter, null, cancellation);

/// <summary>
/// Purges orchestration instances metadata from the durable store.
Expand Down

0 comments on commit 7f69ee7

Please sign in to comment.