From 81aeb06a2eb57329f6952e987941fbfa9f1a05b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Vavru=C5=A1a?= Date: Tue, 12 May 2020 02:45:46 -0700 Subject: [PATCH] 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`. --- website/pages/docs/agent/checks.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/docs/agent/checks.mdx b/website/pages/docs/agent/checks.mdx index 25be5cbe71..57a82025a7 100644 --- a/website/pages/docs/agent/checks.mdx +++ b/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"