mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
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
d9ba1c15fc
commit
81aeb06a2e
@ -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…
x
Reference in New Issue
Block a user