Skip to content
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

Do not error out on denied error for signatures #549

Merged

Conversation

joaopapereira
Copy link
Member

Fixes #548

Signed-off-by: Joao Pereira <joaod@vmware.com>
Signed-off-by: Joao Pereira <joaod@vmware.com>
@joaopapereira joaopapereira temporarily deployed to TanzuNet Registry Dev e2e July 13, 2023 22:14 — with GitHub Actions Inactive
@joaopapereira joaopapereira temporarily deployed to GCR e2e July 13, 2023 22:14 — with GitHub Actions Inactive
Copy link
Member

@praveenrewar praveenrewar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

signatures, err := subject.Fetch(args)
require.NoError(t, err)

require.Equal(t, 2, signatures.Length())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(non-blocking) nit: Should we also assert that the 2 signatures are what we are looking for, like the previous test.

@joaopapereira joaopapereira merged commit 0087fcf into develop Aug 8, 2023
8 checks passed
@joaopapereira joaopapereira deleted the do-not-error-out-on-denied-error-for-signatures branch August 8, 2023 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Copying signatures from a registry that
2 participants