Skip to content

Commit 76bfc55

Browse files
committed
fix golint issue
1 parent 419f6f7 commit 76bfc55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func readConfig() (*config, error) {
267267
// no SRC_PROXY; check for the standard proxy env variables HTTP_PROXY, HTTPS_PROXY, and NO_PROXY
268268
if u, err := http.ProxyFromEnvironment(&http.Request{URL: cfg.EndpointURL}); err != nil {
269269
// when there's an error, the value for the env variable is not a legit URL
270-
return nil, fmt.Errorf("Invalid HTTP_PROXY or HTTPS_PROXY value: %w", err)
270+
return nil, fmt.Errorf("invalid HTTP_PROXY or HTTPS_PROXY value: %w", err)
271271
} else {
272272
cfg.ProxyURL = u
273273
}

0 commit comments

Comments
 (0)