You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2018/11/29 13:28:25 UTC

[camel-k] 03/03: fix netty header

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

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

commit b60372abb7ba3d966297b7a93ea3029edf0e6138
Author: nferraro <ni...@gmail.com>
AuthorDate: Thu Nov 29 13:08:53 2018 +0000

    fix netty header
---
 .../java/org/apache/camel/component/knative/KnativeEndpoint.java     | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/runtime/camel-knative/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java b/runtime/camel-knative/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
index c1b92cd..ce50beb 100644
--- a/runtime/camel-knative/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
+++ b/runtime/camel-knative/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
@@ -237,6 +237,11 @@ public class KnativeEndpoint extends DefaultEndpoint implements DelegateEndpoint
                 );
             }
 
+            uri = URISupport.appendParametersToURI(
+                    uri,
+                    CollectionHelper.mapOf("useRelativePath", "true")
+            );
+
             return context.getEndpoint(uri);
         } catch (Exception e) {
             throw ObjectHelper.wrapRuntimeCamelException(e);