Skip to content

Commit

Permalink
Forgot to include the defaults values in the interfaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaben committed Sep 5, 2020
1 parent 54fc282 commit 63c268c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Docker.Registry.DotNet/Endpoints/ICatalogOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface ICatalogOperations
/// <returns></returns>
[PublicAPI]
Task<Catalog> GetCatalogAsync(
CatalogParameters parameters,
CatalogParameters parameters = null,
CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/Docker.Registry.DotNet/Endpoints/ITagOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public interface ITagOperations
[PublicAPI]
Task<ListImageTagsResponse> ListImageTagsAsync(
string name,
ListImageTagsParameters parameters,
ListImageTagsParameters parameters = null,
CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/Docker.Registry.DotNet/OAuth/OAuthClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private async Task<OAuthToken> GetTokenInnerAsync(
using (var response = await this._client.SendAsync(request, cancellationToken))
{
if (!response.IsSuccessStatusCode)
throw new UnauthorizedAccessException("Unable to authenticate..");
throw new UnauthorizedAccessException("Unable to authenticate.");

var body = await response.Content.ReadAsStringAsync();

Expand Down

0 comments on commit 63c268c

Please sign in to comment.