This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/4.0.x by this push:
new a44d438f Wrong documentation in Kamelet Catalog for sinks
a44d438f is described below
commit a44d438f05df9365cc8cf4a17cab201bac57a750
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Apr 2 07:24:25 2024 +0200
Wrong documentation in Kamelet Catalog for sinks
Signed-off-by: Andrea Cosentino <[email protected]>
---
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 abc7c643..857418f1 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) {