1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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 a5ccb5b28d
commit d6c2188cae

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 {