Skip to content

Commit

Permalink
chore: updates from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Shiwei Zhang <[email protected]>
Signed-off-by: Leonardo Chaia <[email protected]>
  • Loading branch information
leonardochaia and shizhMSFT authored Nov 12, 2024
1 parent ef226cf commit db7ac94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OrasProject.Oras/Registry/Remote/Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,6 @@ internal Reference ParseReferenceFromContentReference(string reference)
/// <param name="getContent"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public async Task MountAsync(Descriptor descriptor, string fromRepository, Func<CancellationToken, Task<Stream>>? getContent, CancellationToken cancellationToken = default)
public async Task MountAsync(Descriptor descriptor, string fromRepository, Func<CancellationToken, Task<Stream>>? getContent = null, CancellationToken cancellationToken = default)
=> await ((IMounter)Blobs).MountAsync(descriptor, fromRepository, getContent, cancellationToken).ConfigureAwait(false);
}

0 comments on commit db7ac94

Please sign in to comment.