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