-
Notifications
You must be signed in to change notification settings - Fork 211
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
fix discovery teardown #479
Conversation
pls sign commits |
…list req Signed-off-by: wayne warren <[email protected]>
…te blobs, disregard 404 responses Signed-off-by: wayne warren <[email protected]>
e671dec
to
5afc3ee
Compare
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.
Couple minor changes to align all the manifests.
@waynr do you have time to work on the changes requested? If not, I can take a stab at it. |
Co-authored-by: Brandon Mitchell <[email protected]> Signed-off-by: wayne <[email protected]>
Co-authored-by: Brandon Mitchell <[email protected]> Signed-off-by: wayne <[email protected]>
Co-authored-by: Brandon Mitchell <[email protected]> Signed-off-by: wayne <[email protected]>
Co-authored-by: Brandon Mitchell <[email protected]> Signed-off-by: wayne <[email protected]>
@sudo-bmitch I accepted your suggested changes, thanks for the reminder! |
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. Should be squashed but that can be done on the merge if it's easier.
Discovery test teardown was broken prior to this because it would attempt to
delete a blob before deleting at least five manifests left over from the setup
that still reference it. Most registries probably don't care about deleting
content that's referenced by other content, which is probably why this works
for others.
Also, I was seeing
GET /v2/<name>/tags/list?n=0
requests and then out ofbounds indexing into the resulting slice because of the weird logic used to
calculate what the
n
parameter should be in the tag listing endpoint tests.Fixes #457.