You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/12/06 14:16:01 UTC

[camel-kamelets] 07/09: The remove-header-name EIP should use name instead of header-name

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

acosentino pushed a commit to branch remove-header-fix
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8360a3b6ae9ba8de4adb6420e41761dfa37d391a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 6 15:03:17 2021 +0100

    The remove-header-name EIP should use name instead of header-name
---
 .../src/main/resources/kamelets/openai-completion-action.kamelet.yaml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/openai-completion-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/openai-completion-action.kamelet.yaml
index 5dbda10..0818994 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/openai-completion-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/openai-completion-action.kamelet.yaml
@@ -94,7 +94,7 @@ spec:
           constant: "application/json"
       - to: "https://api.openai.com/v1/engines/{{engine}}/completions"
       - remove-header:
-          header-name: "Authorization"
+          name: "Authorization"
       - set-property:
           name: format
           constant: "{{format}}"