containerd/cmd/dist
Stephen J Day 2e0c92b168
cmd/dist/fetch: address subtle concurrency bug
When using the fetcher concurrently, the loop modifying the closed
`base` parameter was causing urls from different digests to be returned
randomly. We copy the the value and then modify it to make it work
correctly.

Luckily, we are using content addressable storage or this would have
been undetectable.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-02-24 18:31:26 -08:00
..
active.go content: refactor content store for API 2017-02-21 13:10:22 -08:00
apply.go Update log lines to use containerd log package 2017-02-17 11:50:49 -08:00
common.go content: cleanup service and interfaces 2017-02-22 13:30:01 -08:00
delete.go content: refactor content store for API 2017-02-21 13:10:22 -08:00
fetch.go cmd/dist/fetch: address subtle concurrency bug 2017-02-24 18:31:26 -08:00
get.go cmd/dist: port commands over to use GRPC content store 2017-02-21 13:10:31 -08:00
ingest.go Merge pull request #548 from fate-grand-order/fixed 2017-02-23 11:06:04 +00:00
list.go Use errors.New() directly to output the error message 2017-02-22 10:53:16 +08:00
main.go cmd/dist: consistently replace version string 2017-02-24 16:09:19 -08:00