-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.4] Fix manifest verification if pullthrough enabled #12396
[3.4] Fix manifest verification if pullthrough enabled #12396
Conversation
hold on merging till the master branch PR is merged and QE test it. |
@@ -108,8 +108,12 @@ func (h *manifestSchema1Handler) Payload() (mediaType string, payload []byte, ca | |||
func (h *manifestSchema1Handler) Verify(ctx context.Context, skipDependencyVerification bool) error { | |||
var errs distribution.ErrManifestVerification | |||
|
|||
// we want to verify that referenced blobs exist locally - thus using upstream repository object directly | |||
repo := h.repo.Repository | |||
// we want to verify that referenced blobs exist locally or accessible over |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or are accessible via
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@miminar fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one nit; LGTM
Signed-off-by: Gladkov Alexey <[email protected]>
e6c0357
to
09ac7a5
Compare
@legionus QE finished testing, no issues found. [merge] |
flake: #10228 [merge] |
Evaluated for origin merge up to 09ac7a5 |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12682/) (Base Commit: 407c344) (Image: devenv-rhel7_5639) |
Backport of #12395.
@mfojtik @miminar @pweil-