mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
fix: ignore metadb errors if tag not found (#2301)
This commit is contained in:
committed by
GitHub
parent
c7472a2dda
commit
fdb401273c
+1
-1
@@ -514,7 +514,7 @@ func (rh *RouteHandler) GetManifest(response http.ResponseWriter, request *http.
|
||||
|
||||
if rh.c.MetaDB != nil {
|
||||
err := meta.OnGetManifest(name, reference, mediaType, content, rh.c.StoreController, rh.c.MetaDB, rh.c.Log)
|
||||
if err != nil {
|
||||
if err != nil && !errors.Is(err, zerr.ErrImageMetaNotFound) {
|
||||
response.WriteHeader(http.StatusInternalServerError)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user