Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Nov 11, 2024
1 parent 6e1c4e9 commit 8d9327a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ internal static async Task<ExecuteCommandResult> RunLifeCycleCommandAsync(
};
}

// This is different from ResourceNotificationService.WaitForResourceAsync implementation because it looks for resourceId instead of name.
static async Task<string> WaitForResourceAsync(ResourceNotificationService resourceNotificationService, string resourceId, Func<string, bool> isExpectedStateFunc, CancellationToken cancellationToken = default)
{
await foreach (var resourceEvent in resourceNotificationService.WatchAsync(cancellationToken).ConfigureAwait(false))
Expand Down

0 comments on commit 8d9327a

Please sign in to comment.