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-31 00:08:55 +07:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
cb2dd07edcd6e9b7a8c50bb084e65b4264c79cd2
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