mirror of https://github.com/docker/docs.git
respect proxy settings for b2d downloads
Signed-off-by: Fabian Ruff <fabian@progra.de>
This commit is contained in:
parent
344c7d771a
commit
ac51f9abbd
|
@ -22,7 +22,8 @@ func defaultTimeout(network, addr string) (net.Conn, error) {
|
|||
|
||||
func getClient() *http.Client {
|
||||
transport := http.Transport{
|
||||
Dial: defaultTimeout,
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
Dial: defaultTimeout,
|
||||
}
|
||||
|
||||
client := http.Client{
|
||||
|
|
Loading…
Reference in New Issue