We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getEnvVars
1 parent 9cfa451 commit 5172a4dCopy full SHA for 5172a4d
go/extractor/util/registryproxy.go
@@ -48,13 +48,6 @@ func parseRegistryConfigs(str string) ([]RegistryConfig, error) {
48
}
49
50
func getEnvVars() []string {
51
- // If `proxy_vars` has been initialised, then we have already performed
52
- // these checks and don't need to do so again. We assume that the environment
53
- // variables are constant throughout the run of the autobuilder.
54
- if proxy_vars != nil {
55
- return proxy_vars
56
- }
57
-
58
var result []string
59
60
if proxy_host, proxy_host_set := os.LookupEnv(PROXY_HOST); proxy_host_set {
0 commit comments