Docker-DCO-1.1-Signed-off-by: Ryan Thomas <rthomas@atlassian.com> (github: rthomas)

This commit is contained in:
Ryan Thomas 2014-03-28 06:31:04 +11:00
parent fffa920a89
commit 50ec0bbd4e

View file

@ -42,9 +42,9 @@ func pingRegistryEndpoint(endpoint string) (bool, error) {
return conn, nil
}
httpTransport := &http.Transport{
Dial: httpDial,
Proxy: http.ProxyFromEnvironment,
}
Dial: httpDial,
Proxy: http.ProxyFromEnvironment,
}
client := &http.Client{Transport: httpTransport}
resp, err := client.Get(endpoint + "_ping")
if err != nil {