0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-20 22:52:51 -05:00
zot/pkg/meta/convert
peusebiu 4ed4661fc1
fix(metadb): populate image pushTimestamp if it's 0 value (#2003)
in the case of an already existing meta db without pushTimestamp field
its value would be 0 until image is updated, check for zero values and update them
with time.Now() so that retention logic won't remove them.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-11-09 09:32:56 -08:00
..
convert.go fix(cov): coverage boltdb+dynamo (#2018) 2023-11-08 13:37:52 -08:00
convert_proto.go fix(metadb): populate image pushTimestamp if it's 0 value (#2003) 2023-11-09 09:32:56 -08:00
convert_test.go fix(cov): coverage boltdb+dynamo (#2018) 2023-11-08 13:37:52 -08:00