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

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

commit 98bed0fc249be8d508a1ba9665843089497a0f9e
Author: Antonin Stefanutti <[email protected]>
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 57d442a..3c5fa6c 100644
--- a/pkg/trait/jvm.go
+++ b/pkg/trait/jvm.go
@@ -220,7 +220,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, "|"))
                }
        }
 

Reply via email to