Skip to content

Commit 63c268c

Browse files
committed
Forgot to include the defaults values in the interfaces.
1 parent 54fc282 commit 63c268c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Docker.Registry.DotNet/Endpoints/ICatalogOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public interface ICatalogOperations
1717
/// <returns></returns>
1818
[PublicAPI]
1919
Task<Catalog> GetCatalogAsync(
20-
CatalogParameters parameters,
20+
CatalogParameters parameters = null,
2121
CancellationToken cancellationToken = default);
2222
}
2323
}

src/Docker.Registry.DotNet/Endpoints/ITagOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public interface ITagOperations
1212
[PublicAPI]
1313
Task<ListImageTagsResponse> ListImageTagsAsync(
1414
string name,
15-
ListImageTagsParameters parameters,
15+
ListImageTagsParameters parameters = null,
1616
CancellationToken cancellationToken = default);
1717
}
1818
}

src/Docker.Registry.DotNet/OAuth/OAuthClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private async Task<OAuthToken> GetTokenInnerAsync(
4949
using (var response = await this._client.SendAsync(request, cancellationToken))
5050
{
5151
if (!response.IsSuccessStatusCode)
52-
throw new UnauthorizedAccessException("Unable to authenticate..");
52+
throw new UnauthorizedAccessException("Unable to authenticate.");
5353

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

0 commit comments

Comments
 (0)