mirror of
https://github.com/docker/cli.git
synced 2026-01-25 03:42:05 +03:00
Per registry.doRequest, res and client might be nil in case of error For example, dns resolution errors, /etc/docker/certs.d perms, failed loading of x509 cert ... This will make res.StatusCode and res.Body SEGFAULT. Signed-off-by: Arthur Gautier <baloo@gandi.net> Upstream-commit: 3e6c69e5a1dbb428c4a62656f96cfe77c19986f9 Component: engine