0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-20 22:52:51 -05:00
zot/pkg/storage/common
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
..
common.go fix: don't allow blobs to be deleted if in use (#1559) 2023-07-10 12:24:45 +03:00
common_test.go feat(referrers): added index support for referrers queries (#1560) 2023-07-05 09:42:16 -07:00
lint_interface.go refactor: filenames should use _ not - (#1547) 2023-06-22 11:54:41 -07:00