Skip to content

Commit

Permalink
Add parens back
Browse files Browse the repository at this point in the history
  • Loading branch information
tstromberg committed Oct 31, 2019
1 parent 8e09e98 commit 55f1c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ func validateNetwork(h *host.Host, r command.Runner) string {
out.T(out.Option, "{{.key}}={{.value}}", out.V{"key": k, "value": v})
ipExcluded := proxy.IsIPExcluded(ip) // Skip warning if minikube ip is already in NO_PROXY
k = strings.ToUpper(k) // for http_proxy & https_proxy
if k == "HTTP_PROXY" || k == "HTTPS_PROXY" && !ipExcluded && !warnedOnce {
if k == ("HTTP_PROXY" || k == "HTTPS_PROXY") && !ipExcluded && !warnedOnce {
out.WarningT("You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP ({{.ip_address}}). Please see {{.documentation_url}} for more details", out.V{"ip_address": ip, "documentation_url": "https://minikube.sigs.k8s.io/docs/reference/networking/proxy/"})
warnedOnce = true
}
Expand Down

0 comments on commit 55f1c97

Please sign in to comment.