1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Aaron Lehmann 1ebfa29954 Add missing bounds in ContinueOnError
ContinueOnError assumes that something of type errcode.Errors contains
at least one error. This is generally true, but might not be true if the
remote registry returns an empty error body or invalid JSON. Add the
bounds check, and in the case where it fails, allow fallbacks to v1.

Fixes #18481

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-08 09:54:20 -08:00
..
auth.go rename req to resp 2015-12-02 20:38:54 +08:00
auth_test.go
authchallenge.go
config.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
config_test.go
config_unix.go Check if CertsDir is not empty 2015-11-25 18:12:19 +01: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
reference.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
registry.go Add missing bounds in ContinueOnError 2015-12-08 09:54:20 -08:00
registry_mock_test.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
registry_test.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
service.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
service_v1.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
service_v2.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
session.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
token.go
types.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00