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-04-01 00:38:52 +07:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
30790aaa6813aca19b1908d7626a9b2dd10fc813
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