Skip to content

Commit 5172a4d

Browse files
committed
Go: Remove check from getEnvVars
1 parent 9cfa451 commit 5172a4d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

go/extractor/util/registryproxy.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,6 @@ func parseRegistryConfigs(str string) ([]RegistryConfig, error) {
4848
}
4949

5050
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-
5851
var result []string
5952

6053
if proxy_host, proxy_host_set := os.LookupEnv(PROXY_HOST); proxy_host_set {

0 commit comments

Comments
 (0)