From d1957808f6e3ccece499ac2f4048d4ef850b262c Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 4 Feb 2015 17:28:29 -0500 Subject: [PATCH] 3021: Remove ARVADOS_KEEP_PROXY support. (If you need to interfere with the discovery mechanism from out-of-process, use some combination of HTTP_PROXY, NO_PROXY, and a generic proxy server.) --- sdk/go/keepclient/support.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sdk/go/keepclient/support.go b/sdk/go/keepclient/support.go index c24849e687..9db6ebcbaa 100644 --- a/sdk/go/keepclient/support.go +++ b/sdk/go/keepclient/support.go @@ -11,7 +11,6 @@ import ( "log" "net" "net/http" - "os" "strings" "time" ) @@ -78,14 +77,6 @@ func (this *KeepClient) setClientSettingsStore() { } func (this *KeepClient) DiscoverKeepServers() error { - if prx := os.Getenv("ARVADOS_KEEP_PROXY"); prx != "" { - sr := map[string]string{"proxy": prx} - this.SetServiceRoots(sr) - this.Using_proxy = true - this.setClientSettingsProxy() - return nil - } - type svcList struct { Items []keepDisk `json:"items"` } -- 2.30.2