Skip to content

Commit

Permalink
[Heartbeat] Fix reference yaml format (#38584) (#38661)
Browse files Browse the repository at this point in the history
Fix heartbeat.reference.yml incorrect formatting.

(cherry picked from commit 4305f30)

Co-authored-by: Emilio Alvarez Piñeiro <95703246+emilioalvap@users.noreply.github.com>
  • Loading branch information
mergify[bot] and emilioalvap committed Mar 27, 2024
1 parent e9e462d commit bff42e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Expand Up @@ -76,6 +76,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
*Heartbeat*

- Reset prctl dumpable flag after cap drop. {pull}38269[38269]
- Fix reference yaml format. {pull}38584[38584]

*Metricbeat*

Expand Down
2 changes: 1 addition & 1 deletion heartbeat/_meta/config/beat.reference.yml.tmpl
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/heartbeat.reference.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion x-pack/heartbeat/heartbeat.reference.yml
Expand Up @@ -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:
Expand Down

0 comments on commit bff42e0

Please sign in to comment.