distribution/docs
Anil Belur 1820704288 Fix for #17168 misleading pull error
This fix avoids overwritting the previous error messages, ensures the client gets the correct error messages and not just the most recent message during the pull request.
For this `var lastErr` replaced with a slice which acts as a temp place holder for the list of returned error messages for every attempt.
The slice is later joined and returned to the caller function after searching for the image with diffirent versions(v2,v1,v0).

Updated the code with check for no space left on device error occurance and prevent the
daemon on falling back to v1,v0.

Incorporated the comments from @calavera, @RichardScothern, @cpuguy83

Signed-off-by: Anil Belur <askb23@gmail.com>
2015-11-14 16:24:45 +05:30
..
auth.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
auth_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
authchallenge.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
config.go Vendor updated version of docker/distribution 2015-11-02 12:40:18 -08:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
config_unix.go Update Windows TP3 registry endpoints 2015-08-07 14:03:46 -07:00
config_windows.go Update Windows TP3 registry endpoints 2015-08-07 14:03:46 -07:00
endpoint.go Prevent push and pull to v1 registries by filtering the available endpoints. 2015-09-25 15:59:42 -07:00
endpoint_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
reference.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
registry.go Fix for #17168 misleading pull error 2015-11-14 16:24:45 +05:30
registry_mock_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
registry_test.go Vendor updated version of docker/distribution 2015-11-02 12:40:18 -08:00
service.go Merge pull request #16509 from HuKeping/search-problem 2015-10-04 18:21:32 +02:00
service_v1.go Prevent push and pull to v1 registries by filtering the available endpoints. 2015-09-25 15:59:42 -07:00
service_v2.go Prevent push and pull to v1 registries by filtering the available endpoints. 2015-09-25 15:59:42 -07:00
session.go Make RegistryConfig a typed value in the api. 2015-09-07 19:29:33 -04:00
token.go Registry: remove unwanted return variable name 2015-06-09 10:58:33 +08:00
types.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00