0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/storage/local
peusebiu cda6916b45
fix: don't allow blobs to be deleted if in use (#1559)
dist-spec APIs independently allow deletion of blobs and manifests.
Doing the former when in use by an image manifest or index is simply
error-prone. So disallow it.

Fixes issue #1509

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Co-authored-by: Ramkumar Chinchani <rchincha@cisco.com>
2023-07-10 12:24:45 +03:00
..
local.go fix: don't allow blobs to be deleted if in use (#1559) 2023-07-10 12:24:45 +03:00
local_elevated_test.go refactor(storage): refactoring storage (#1459) 2023-05-26 11:08:19 -07:00
local_test.go fix: don't allow blobs to be deleted if in use (#1559) 2023-07-10 12:24:45 +03:00