0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-20 22:52:51 -05:00
zot/pkg/storage
Ramkumar Chinchani 3dc9885ee9 update the size field when existing manifest entry is updated
An existing manifest descriptor in index.json can be updated with
different manifest contents for the same/existing tag. We were updating
the digest but not the size field causing GC to report an error.

Add a unit test case to cover this.

Add logs.
2020-06-18 16:20:43 -07:00
..
BUILD.bazel dedupe: use hard links to dedupe blobs 2020-04-03 09:29:12 -07:00
cache.go dedupe: record relative path for cache entries 2020-05-27 22:11:26 -07:00
cache_test.go dedupe: record relative path for cache entries 2020-05-27 22:11:26 -07:00
storage.go update the size field when existing manifest entry is updated 2020-06-18 16:20:43 -07:00
storage_test.go update the size field when existing manifest entry is updated 2020-06-18 16:20:43 -07:00