-
Notifications
You must be signed in to change notification settings - Fork 540
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not check /v2 endpoint on registry when RoundTripper is provided (#…
…1396) * Bump staticcheck to latest version Refactor tests that where Marshalling the transport.Error. This was causing staticcheck to fail. Instead of trying to Marshall the error we now provide the strings version of the expected errors. Signed-off-by: João Pereira <joaod@vmware.com> * Wrapper transport no longer checks /v2 endpoint When the calling the function NewWithContext, if the RoundTripper provided is of the type transport.Wrapper, the function will assume that the caller did the needed due diligence to ensure the registry supports OCI v2. In this case the function will only need to return back the provided RoundTripper without any further change. Signed-off-by: João Pereira <joaod@vmware.com>
- Loading branch information
1 parent
ae256b5
commit 2b1087a
Showing
5 changed files
with
72 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters