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:
Marek Vavruša 2020-05-12 02:45:46 -07:00 committed by GitHub
parent 9ddca03979
commit a6cd75423e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"