File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/operator/Synapse.Operator/Services Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public override async Task StartAsync(CancellationToken cancellationToken)
60
60
await base . StartAsync ( cancellationToken ) . ConfigureAwait ( false ) ;
61
61
this . Operator ! . Select ( b => b . Resource . Spec . Selector ) . SubscribeAsync ( this . OnResourceSelectorChangedAsync , cancellationToken : cancellationToken ) ;
62
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 ) ;
63
+ if ( this . Operator ? . Resource ? . Spec ? . Cleanup != null ) _ = Task . Run ( this . CleanupAsync , CancellationTokenSource . Token ) ;
64
64
}
65
65
66
66
/// <inheritdoc/>
You can’t perform that action at this time.
0 commit comments