1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Tibor Vass a21ba12f4e registry: allow fallback on unknown errors
This patch fixes a bug where a user specifies a v1 mirror for
--registry-mirror and pull an image from the Hub.

It used to not fallback because of an unexpected error returned when
trying to JSON marshal nginx output.

We now ensure that any unexpected error falls back to the next endpoint
in the list.

Signed-off-by: Tibor Vass <tibor@docker.com>
2015-07-30 19:03:38 -04:00
..
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 Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
endpoint.go Fix login and search TLS configuration 2015-07-28 10:36:57 -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 registry: allow fallback on unknown errors 2015-07-30 19:03:38 -04:00
registry_mock_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
registry_test.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
service.go Fix login and search TLS configuration 2015-07-28 10:36:57 -07:00
session.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07: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