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:00 UTC

[camel-kamelets] 06/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 a753d01cad21f0cc1cab91922ef8cb6315415e47
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 6 15:03:02 2021 +0100

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/openai-classification-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/openai-classification-action.kamelet.yaml
index 13e4e6b..8bea76b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/openai-classification-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/openai-classification-action.kamelet.yaml
@@ -133,7 +133,7 @@ spec:
           constant: "application/json"
       - to: "https://api.openai.com/v1/classifications"
       - remove-header:
-          header-name: "Authorization"
+          name: "Authorization"
       - set-property:
           name: format
           constant: "{{format}}"