0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-02-24 23:56:32 -05:00
zot/pkg/storage/local
peusebiu 5494a1b8d6
fix(storage): do not open/download blobs when validating manifests (#1566)
when pushing manifests, zot will validate blobs (layers + config blob) are
present in repo, currently it opens(in case of filesystem storage) or download(
in case of cloud storage) each blob.

fixed that by adding a new method ImageStore.CheckBlobPresence() on storage
to check blobs presence without checking the cache like ImageStore.CheckBlob() method does.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-07-06 10:33:36 -07:00
..
local.go fix(storage): do not open/download blobs when validating manifests (#1566) 2023-07-06 10:33:36 -07:00
local_elevated_test.go refactor(storage): refactoring storage (#1459) 2023-05-26 11:08:19 -07:00
local_test.go fix(storage): do not open/download blobs when validating manifests (#1566) 2023-07-06 10:33:36 -07:00