From be91cc8d283e92d57040a1bb6f6a82fce498d059 Mon Sep 17 00:00:00 2001 From: "Luis I. Perez" Date: Mon, 2 May 2016 23:00:41 +0200 Subject: [PATCH] automatic format --- plugins/inputs/haproxy/haproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/haproxy/haproxy.go b/plugins/inputs/haproxy/haproxy.go index 942453ab4..c9c2df82a 100644 --- a/plugins/inputs/haproxy/haproxy.go +++ b/plugins/inputs/haproxy/haproxy.go @@ -140,7 +140,7 @@ func (g *haproxy) gatherServer(addr string, acc telegraf.Accumulator) error { u, err := url.Parse(addr) if err != nil { return fmt.Errorf("Unable parse server address '%s': %s", addr, err) - } + } //Checking for default Haproxy Status page req, err := http.NewRequest("GET", fmt.Sprintf("%s://%s%s?%s", u.Scheme, u.Host, u.Path, u.RawQuery), nil) if u.User != nil {