diff --git a/pkg/bundle/release.go b/pkg/bundle/release.go index 70cf2fd78..6282db593 100644 --- a/pkg/bundle/release.go +++ b/pkg/bundle/release.go @@ -83,9 +83,6 @@ func newClient(u string) (Client, *url.URL, error) { return Client{}, nil, err } - // This needs to handle user input at some point. - //var proxy *url.URL - tls, err := getTLSConfig() if err != nil { return Client{}, nil, err @@ -93,6 +90,8 @@ func newClient(u string) (Client, *url.URL, error) { transport := &http.Transport{ TLSClientConfig: tls, + Proxy: http.ProxyFromEnvironment, + } return NewClient(uuid.New(), transport), upstream, nil }