Skip to content

Commit 828ed72

Browse files
committed
Include changes that were left out
Signed-off-by: Charles d'Avernas <[email protected]>
1 parent c109080 commit 828ed72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operator/Synapse.Operator/Services/WorkflowInstanceController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public override async Task StartAsync(CancellationToken cancellationToken)
6060
await base.StartAsync(cancellationToken).ConfigureAwait(false);
6161
this.Operator!.Select(b => b.Resource.Spec.Selector).SubscribeAsync(this.OnResourceSelectorChangedAsync, cancellationToken: cancellationToken);
6262
await this.OnResourceSelectorChangedAsync(this.Operator!.Resource.Spec.Selector).ConfigureAwait(false);
63-
if (this.Operator?.Resource?.Spec?.Cleanup != null)_ = Task.Run(() => this.CleanupAsync(), CancellationTokenSource.Token);
63+
if (this.Operator?.Resource?.Spec?.Cleanup != null)_ = Task.Run(this.CleanupAsync, CancellationTokenSource.Token);
6464
}
6565

6666
/// <inheritdoc/>

0 commit comments

Comments
 (0)