You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/01/31 13:43:10 UTC
(camel-kamelets-examples) branch main updated: Update example
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new dba1c6b Update example
dba1c6b is described below
commit dba1c6bf51f6a2290296ef146ee0c320ce1433e4
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jan 31 14:42:59 2024 +0100
Update example
---
jbang/variables-eip/myapp.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jbang/variables-eip/myapp.yaml b/jbang/variables-eip/myapp.yaml
index 36e466a..d821eb3 100644
--- a/jbang/variables-eip/myapp.yaml
+++ b/jbang/variables-eip/myapp.yaml
@@ -34,8 +34,8 @@
expression: ${variable.alc1} > ${variable.alc2}
steps:
- log:
- message: Beer1 ${pretty(${variable.beer1})} is stronger
+ message: 'Beer battle: ${jq(variable:beer1,.name)} (${variable.alc1}%) is stronger than ${jq(variable:beer2,.name)} (${variable.alc2}%)'
otherwise:
steps:
- log:
- message: Beer2 ${pretty(${variable.beer2})} is stronger
+ message: 'Beer battle: ${jq(variable:beer1,.name)} (${variable.alc1}%) is weaker than ${jq(variable:beer2,.name)} (${variable.alc2}%)'