This website requires JavaScript.
Explore
Help
Register
Sign In
centersl
/
docker-docs
Watch
1
Star
0
Fork
0
You've already forked docker-docs
mirror of
https://github.com/docker/docs.git
synced
2026-03-30 15:58:53 +07:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
08c0da745fa40b3fac5a6dbf9847e71e2201347f
docker-docs
/
server
/
timestamp
History
David Lawrence
cb2dd07edc
the server was not setting the longer snapshot expiry time. When generating a timestamp it was also retriving the snapshot directly from the database and only validating the checksum still matched what was in the timestamp. Due to the addition of consistent downloads, this mean a new snapshot never got generated. It is necessary for GetOrCreateTimestamp to call GetOrCreateSnapshot to ensure a new snapshot is generated as and when required
...
Signed-off-by: David Lawrence <
david.lawrence@docker.com
> (github: endophage)
2016-02-24 15:51:31 -08:00
..
timestamp_test.go
the server was not setting the longer snapshot expiry time. When generating a timestamp it was also retriving the snapshot directly from the database and only validating the checksum still matched what was in the timestamp. Due to the addition of consistent downloads, this mean a new snapshot never got generated. It is necessary for GetOrCreateTimestamp to call GetOrCreateSnapshot to ensure a new snapshot is generated as and when required
2016-02-24 15:51:31 -08:00
timestamp.go
the server was not setting the longer snapshot expiry time. When generating a timestamp it was also retriving the snapshot directly from the database and only validating the checksum still matched what was in the timestamp. Due to the addition of consistent downloads, this mean a new snapshot never got generated. It is necessary for GetOrCreateTimestamp to call GetOrCreateSnapshot to ensure a new snapshot is generated as and when required
2016-02-24 15:51:31 -08:00