Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5172a4d

Browse filesBrowse files
committed
Go: Remove check from getEnvVars
1 parent 9cfa451 commit 5172a4d
Copy full SHA for 5172a4d

File tree

Expand file treeCollapse file tree

1 file changed

+0
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-7
lines changed

‎go/extractor/util/registryproxy.go

Copy file name to clipboardExpand all lines: go/extractor/util/registryproxy.go
-7Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.