-
Notifications
You must be signed in to change notification settings - Fork 379
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
Don't abort listing tags when we encounter a digest #2440
Conversation
// https://github.com/opencontainers/distribution-spec/blob/8a871c8234977df058f1a14e299fe0a673853da2/spec.md?plain=1#L160 , | ||
// include digests in the list. | ||
if _, err := digest.Parse(tag); err == nil { | ||
logrus.Debugf("Ignoring invalid tag %q matching a digest format", tag) |
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.
This does not appear to be ignoring?
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.
Doh! Thanks.
Per containers/skopeo#2346, that happens in the wild. Signed-off-by: Miloslav Trmač <[email protected]>
LGTM |
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.
/lgtm
Fix confirmed in containers/skopeo#2346 (comment) , for the record. |
Per containers/skopeo#2346, that happens in the wild.