Skip to content

Conversation

@sudo-bmitch
Copy link
Contributor

Fixes #540.

This allows a 404 on blob deletion for registries that immediately prune blobs on manifest deletion. It also reorders a couple of checks for consistency (404 before 405).

@rchincha
Copy link
Contributor

Not just the GC case, one could also DELETE a non-existent blob. This looks reasonable.

Copy link
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

LGTM

@mikebrow mikebrow merged commit 11b8e3f into opencontainers:main Jul 18, 2024
@sudo-bmitch sudo-bmitch deleted the pr-conformance-blob-404 branch July 18, 2024 17:12
@sudo-bmitch sudo-bmitch mentioned this pull request Jan 23, 2025
7 tasks
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 this pull request may close these issues.

Teardown Tests Should Accept 404 Response for Blob Deletion

4 participants