zot icon indicating copy to clipboard operation
zot copied to clipboard

GraphQL API: ignore manifests which have no annotation for tags.

Open andaaron opened this issue 3 years ago • 0 comments

At the moment our search logic assumes that if a manifest does not have a tag annotation, the tag should be latest: https://github.com/project-zot/zot/blob/main/pkg/extensions/search/common/oci_layout.go#L358.

We should fix this by simply skipping that manifest.

andaaron avatar Aug 03 '22 18:08 andaaron