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`.
This commit is contained in:
parent
9ddca03979
commit
a6cd75423e
|
@ -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…
Reference in New Issue