Fix YAML and JSON doc section (#11023)

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
Julien Pivotto 2022-08-03 11:09:57 +02:00 committed by GitHub
parent 7bbc19de75
commit a6c6155092
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1269,6 +1269,7 @@ changes resulting in well-formed target groups are applied.
Files must contain a list of static configs, using these formats: Files must contain a list of static configs, using these formats:
**JSON** **JSON**
```json ```json
[ [
{ {
@ -1282,6 +1283,7 @@ Files must contain a list of static configs, using these formats:
``` ```
**YAML** **YAML**
```yaml ```yaml
- targets: - targets:
[ - '<host>' ] [ - '<host>' ]