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

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


The following commit(s) were added to refs/heads/4.4.x by this push:
     new 85dbfbcb Wrong documentation in Kamelet Catalog for sinks
85dbfbcb is described below

commit 85dbfbcb7c686dc1e254fd88ea1293c568485385
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Apr 2 07:24:25 2024 +0200

    Wrong documentation in Kamelet Catalog for sinks
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 docs/modules/ROOT/examples/js/kamelets.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/examples/js/kamelets.js 
b/docs/modules/ROOT/examples/js/kamelets.js
index c20cda6c..379d314f 100644
--- a/docs/modules/ROOT/examples/js/kamelets.js
+++ b/docs/modules/ROOT/examples/js/kamelets.js
@@ -80,7 +80,7 @@ module.exports = {
     const properties = Object.entries(kameletPropertyList(definition) || {})
       .map(([name, value]) => `-p "${namePrefix}.${name}=${quote(value)}"`)
       .join(' ')
-    return `kamel bind ${name} ${properties} ${topic}`
+    return `kamel bind ${topic} ${properties} ${name}`
   },
 
   sort: function (list) {

Reply via email to