From a0cf3cc43c79d6c7a8e2ef2124ecae9de658d56c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 23 Jan 2018 21:38:46 -0800 Subject: [PATCH] Add a JSON tag for ProxyRequests attr --- internal/alertmanager/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/alertmanager/models.go b/internal/alertmanager/models.go index 012501774..7f3582cf0 100644 --- a/internal/alertmanager/models.go +++ b/internal/alertmanager/models.go @@ -35,7 +35,7 @@ type Alertmanager struct { RequestTimeout time.Duration `json:"timeout"` Name string `json:"name"` // whenever this instance should be proxied - ProxyRequests bool + ProxyRequests bool `json:"proxyRequests"` // reader instances are specific to URI scheme we collect from reader uri.Reader // implements how we fetch requests from the Alertmanager, we don't set it