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-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 9c829a6  Improve indentation of multiline string (#51)
9c829a6 is described below

commit 9c829a6c6fe97b248f89a3c3d220eb8c73a0c5e1
Author: Aurélien Pupier <apup...@redhat.com>
AuthorDate: Wed Jan 17 14:36:56 2024 +0100

    Improve indentation of multiline string (#51)
    
    Several parsers are not accepting the notation and reporting validation
    error (for instance in VS Code).
    Camel is more tolerant and was allowing it.
    
    Signed-off-by: Aurélien Pupier <apup...@redhat.com>
---
 jbang/opensearch-search-log/os-search-log.yaml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/jbang/opensearch-search-log/os-search-log.yaml 
b/jbang/opensearch-search-log/os-search-log.yaml
index 1f016b1..416791e 100644
--- a/jbang/opensearch-search-log/os-search-log.yaml
+++ b/jbang/opensearch-search-log/os-search-log.yaml
@@ -23,12 +23,12 @@
         clusterName: "opensearch-cluster"
         indexName: "test_index"
         query: '{
-    "query": {
-      "match": {
-        "id": "1"
-      }
-    }
-  }'
+          "query": {
+            "match": {
+              "id": "1"
+            }
+          }
+         }'
       steps:
       - to: 
           uri: "kamelet:log-sink"

Reply via email to