Adding support for configuring subnet proxy (#1460)

Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
This commit is contained in:
Lenin Alevski
2022-01-26 11:53:11 -06:00
committed by GitHub
parent e626f59feb
commit c82782fe9f
10 changed files with 122 additions and 19 deletions

View File

@@ -69,9 +69,6 @@ func subnetAuthHeaders(authToken string) map[string]string {
}
func httpDo(client cluster.HTTPClientI, req *http.Request) (*http.Response, error) {
//if globalSubnetProxyURL != nil {
// client.Transport.(*http.Transport).Proxy = http.ProxyURL(globalSubnetProxyURL)
//}
return client.Do(req)
}