We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c109080 commit 828ed72Copy full SHA for 828ed72
1 file changed
src/operator/Synapse.Operator/Services/WorkflowInstanceController.cs
@@ -60,7 +60,7 @@ public override async Task StartAsync(CancellationToken cancellationToken)
60
await base.StartAsync(cancellationToken).ConfigureAwait(false);
61
this.Operator!.Select(b => b.Resource.Spec.Selector).SubscribeAsync(this.OnResourceSelectorChangedAsync, cancellationToken: cancellationToken);
62
await this.OnResourceSelectorChangedAsync(this.Operator!.Resource.Spec.Selector).ConfigureAwait(false);
63
- if (this.Operator?.Resource?.Spec?.Cleanup != null)_ = Task.Run(() => this.CleanupAsync(), CancellationTokenSource.Token);
+ if (this.Operator?.Resource?.Spec?.Cleanup != null)_ = Task.Run(this.CleanupAsync, CancellationTokenSource.Token);
64
}
65
66
/// <inheritdoc/>
0 commit comments