0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/meta/dynamodb
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
..
dynamodb.go fix(metadb): populate image pushTimestamp if it's 0 value (#2003) 2023-11-09 09:32:56 -08:00
dynamodb_internal_test.go refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
dynamodb_test.go fix(cov): coverage boltdb+dynamo (#2018) 2023-11-08 13:37:52 -08:00
iterator.go feat(pagination): move pagination and sorting image summary results after conversion (#1637) 2023-07-31 22:16:09 +03:00
parameters.go refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00