You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2022/01/19 08:40:46 UTC

[camel-k] 20/32: fix(jvm): NO_PROXY translates to -Dhttp.nonProxyHosts

This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch release-1.7.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 38fd330b22834de866659f75d70dab4176772449
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Mon Jan 10 14:56:21 2022 +0100

    fix(jvm): NO_PROXY translates to -Dhttp.nonProxyHosts
---
 pkg/trait/jvm.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/trait/jvm.go b/pkg/trait/jvm.go
index 4b87f1b..18d3884 100644
--- a/pkg/trait/jvm.go
+++ b/pkg/trait/jvm.go
@@ -219,7 +219,7 @@ func (t *jvmTrait) Apply(e *Environment) error {
 					hosts[i] = strings.Replace(host, ".", "*.", 1)
 				}
 			}
-			args = append(args, "-Dhttps.nonProxyHosts="+strings.Join(hosts, "|"))
+			args = append(args, "-Dhttp.nonProxyHosts="+strings.Join(hosts, "|"))
 		}
 	}