moby--moby/registry
Zhang Wei efa65d16b6 print detailed error info for docker pull
When docker push get response with unknown HTTP status, docker daemon
print:
"Error: Status XXX trying to push repository XXX: XXX"
But when docker pull meets response with unknown status code, it gives:
"HTTP code: XXX"

This commit helps docker pull print more detailed error info like push
does, so push and pull can behave consistently when error happens.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2015-03-18 11:35:44 +08:00
..
v2
auth.go
auth_test.go
authchallenge.go
config.go
config_test.go
endpoint.go
endpoint_test.go
httpfactory.go
registry.go
registry_mock_test.go
registry_test.go
service.go
session.go print detailed error info for docker pull 2015-03-18 11:35:44 +08:00
session_v2.go
token.go
types.go