mirror of
https://github.com/docker/cli.git
synced 2026-09-02 02:24:27 -05:00
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> Upstream-commit: efa65d16b6e0b835c1786a47140c974e5c0f71cb Component: engine