mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
respect proxy settings for b2d downloads
Signed-off-by: Fabian Ruff <fabian@progra.de>
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user