Skip to content

Commit

Permalink
registry: hidden tag should be included when checking a manifest's re…
Browse files Browse the repository at this point in the history
…ferrers (PROJQUAY-7519) (quay#3051)

Referrers with only a temp tag (hidden) still need to be listed to validate
that they exist when listing referrers.
  • Loading branch information
kleesc authored Jul 18, 2024
1 parent fdb36d2 commit 1452d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endpoints/v2/referrers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def list_manifest_referrers(namespace_name, repo_name, manifest_ref, registry_mo

try:
manifest = registry_model.lookup_manifest_by_digest(
repository_ref, manifest_ref, raise_on_error=True
repository_ref, manifest_ref, raise_on_error=True, allow_hidden=True
)
except ManifestDoesNotExist as e:
raise ManifestUnknown(str(e))
Expand Down

0 comments on commit 1452d1a

Please sign in to comment.