You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After deleting the last tag, if we try to list the tags within the same repo, 404 error is returned with message repository is unknown. even though the repo is being listed in the catalog api response
Reproduce
delete the last tag within the repo
list tags of the repo
response:
{
"errors": [
{
"code": "NAME_UNKNOWN",
"message": "repository name not known to registry",
"detail": {
"name": "<name>/<tag>"
}
}
]
}
Expected behavior
if there are no tags present for the given repo, we may consider returning empty list instead of 404 for repository.
registry version
version - v3.0.0
Additional Info
code reference
if the _manifests/tags/ directory is empty PathNotFoundError is returned.
Instead of returning ErrRepositoryUnknown for the above case we can skip this check to return empty tag list.
The text was updated successfully, but these errors were encountered:
Description
After deleting the last tag, if we try to list the tags within the same repo, 404 error is returned with message repository is unknown. even though the repo is being listed in the catalog api response
Reproduce
response:
Expected behavior
if there are no tags present for the given repo, we may consider returning empty list instead of 404 for repository.
registry version
version - v3.0.0
Additional Info
code reference
if the
_manifests/tags/
directory is emptyPathNotFoundError
is returned.Instead of returning
ErrRepositoryUnknown
for the above case we can skip this check to return empty tag list.The text was updated successfully, but these errors were encountered: