From 1df3ff51a45c9afff0adcb7e11790e4caee7e674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Alvarez=20Pi=C3=B1eiro?= <95703246+emilioalvap@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:25:59 +0100 Subject: [PATCH] [Heartbeat] Fix reference yaml format (#38584) Fix heartbeat.reference.yml incorrect formatting. (cherry picked from commit 4305f30214f97b37a3c98a45cc68a994df5bf81b) --- CHANGELOG.next.asciidoc | 2 ++ heartbeat/_meta/config/beat.reference.yml.tmpl | 2 +- heartbeat/heartbeat.reference.yml | 2 +- x-pack/heartbeat/heartbeat.reference.yml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 08806f8a68a..8e57ab6f684 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -56,6 +56,8 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff] - Fix setuid root when running under cgroups v2. {pull}37794[37794] - Adjust State loader to only retry when response code status is 5xx {pull}37981[37981] - Reset prctl dumpable flag after cap drop. {pull}38269[38269] +- Reset prctl dumpable flag after cap drop. {pull}38269[38269] +- Fix reference yaml format. {pull}38584[38584] *Metricbeat* diff --git a/heartbeat/_meta/config/beat.reference.yml.tmpl b/heartbeat/_meta/config/beat.reference.yml.tmpl index ec75513e3f0..1385201f252 100644 --- a/heartbeat/_meta/config/beat.reference.yml.tmpl +++ b/heartbeat/_meta/config/beat.reference.yml.tmpl @@ -226,7 +226,7 @@ heartbeat.monitors: # Parses the body as JSON, then checks against the given expression #json: #- description: Explanation of what the check does -- # expression: 'myField == "expectedValue"' + # expression: 'myField == "expectedValue"' # (Deprecated: see 'expression' above) Parses the body as JSON, then checks against the given condition expression #json: diff --git a/heartbeat/heartbeat.reference.yml b/heartbeat/heartbeat.reference.yml index 04df2d4dbcd..7407d213748 100644 --- a/heartbeat/heartbeat.reference.yml +++ b/heartbeat/heartbeat.reference.yml @@ -226,7 +226,7 @@ heartbeat.monitors: # Parses the body as JSON, then checks against the given expression #json: #- description: Explanation of what the check does -- # expression: 'myField == "expectedValue"' + # expression: 'myField == "expectedValue"' # (Deprecated: see 'expression' above) Parses the body as JSON, then checks against the given condition expression #json: diff --git a/x-pack/heartbeat/heartbeat.reference.yml b/x-pack/heartbeat/heartbeat.reference.yml index 04df2d4dbcd..7407d213748 100644 --- a/x-pack/heartbeat/heartbeat.reference.yml +++ b/x-pack/heartbeat/heartbeat.reference.yml @@ -226,7 +226,7 @@ heartbeat.monitors: # Parses the body as JSON, then checks against the given expression #json: #- description: Explanation of what the check does -- # expression: 'myField == "expectedValue"' + # expression: 'myField == "expectedValue"' # (Deprecated: see 'expression' above) Parses the body as JSON, then checks against the given condition expression #json: