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 d9ba1c15fc
commit 81aeb06a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save