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

bug: referrers should return an empty manifest list, but it now returns null #51

Closed
wangxiaoxuan273 opened this issue Jan 4, 2023 · 0 comments · Fixed by #53
Closed

Comments

@wangxiaoxuan273
Copy link

According to the distribution spec, when referrers API is called with a digest that has no referrers or does not exist in the repository, an empty list must/may be returned. A correct example (from pr #34 ):
image

The current main branch gives the following incorrect output:
image

@wangxiaoxuan273 wangxiaoxuan273 changed the title bug: referrers API should return an empty list when it now returns null bug: referrers should return an empty manifest list, but it now returns null Jan 4, 2023
shizhMSFT pushed a commit that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant