Docker-DCO-1.1-Signed-off-by: Ryan Thomas <rthomas@atlassian.com> (github: rthomas)
This commit is contained in:
parent
fffa920a89
commit
50ec0bbd4e
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue