Browse Source

docs: fix misleading example for HTTP healthcheck (#7773)

The documentation says the `header` field has type `map[string][]string`,
but the example has `map[string]string`.
pull/7706/head^2
Marek Vavruša 5 years ago committed by GitHub
parent
commit
81aeb06a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      website/pages/docs/agent/checks.mdx

2
website/pages/docs/agent/checks.mdx

@ -155,7 +155,7 @@ A HTTP check:
"http": "https://localhost:5000/health",
"tls_skip_verify": false,
"method": "POST",
"header": {"Content-Type": "application/json"},
"header": {"Content-Type": ["application/json"]},
"body": "{\"method\":\"health\"}",
"interval": "10s",
"timeout": "1s"

Loading…
Cancel
Save