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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/master by this push:
     new b1b0694  Invalid example on yaml language docu #423
b1b0694 is described below

commit b1b069425c9ed6fe20da33eb2bcb489b503c15d1
Author: lburgazzoli <lburgazz...@gmail.com>
AuthorDate: Fri Aug 21 12:37:17 2020 +0200

    Invalid example on yaml language docu #423
---
 docs/modules/languages/pages/yaml.adoc | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/docs/modules/languages/pages/yaml.adoc 
b/docs/modules/languages/pages/yaml.adoc
index 33700a6..2a8f786 100644
--- a/docs/modules/languages/pages/yaml.adoc
+++ b/docs/modules/languages/pages/yaml.adoc
@@ -11,17 +11,17 @@ A route is a sequence of elements, or `steps`, defined as 
follows:
 
 [source,yaml]
 ----
-from: #<1>
-  uri: "direct:start"
-  steps: #<2>
-    - filter:
-        expression:
-          simple: "${in.header.continue} == true"
-        steps: #<2>
-          - to:
-              uri: "log:filtered"
-    - to:
-        uri: "log:original"
+- from: #<1>
+    uri: "direct:start"
+    steps: #<2>
+      - filter:
+          expression:
+            simple: "${in.header.continue} == true"
+          steps: #<2>
+            - to:
+                uri: "log:filtered"
+      - to:
+          uri: "log:original"
 ----
 <1> route entry point, by default `from` and `rest` are supported
 <2> processing steps

Reply via email to