Skip to content

Commit

Permalink
[Heartbeat] Fix reference yaml format (#38584)
Browse files Browse the repository at this point in the history
Fix heartbeat.reference.yml incorrect formatting.
  • Loading branch information
emilioalvap committed Mar 27, 2024
1 parent 23ec4e9 commit 4305f30
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 @@ -100,6 +100,7 @@ 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]
- 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 4305f30

Please sign in to comment.