Arthur Gautier eaf57e8f55 Fix SEGFAULT if dns resolv error
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>
2014-09-05 13:40:06 +02:00
2014-09-05 13:40:06 +02:00
Description
No description provided
20 MiB
Languages
Go 97.8%
Shell 1.7%
Dockerfile 0.2%
Makefile 0.2%