From 57ac97c425a31fb7b6a23477216c495f28048ee8 Mon Sep 17 00:00:00 2001 From: "Luis I. Perez" Date: Fri, 15 Apr 2016 16:37:32 +0200 Subject: [PATCH] circle_test Update --- 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 2a3451fe4..fb028c26d 100644 --- a/plugins/inputs/haproxy/haproxy.go +++ b/plugins/inputs/haproxy/haproxy.go @@ -146,7 +146,7 @@ func (g *haproxy) gatherServer(addr string, acc telegraf.Accumulator) error { if u.RawQuery == "" { uri = fmt.Sprintf("%s://%s%s;csv", u.Scheme, u.Host, u.Path) } else { - uri = fmt.Sprintf("%s://%s%s?%s;csv", u.Scheme, u.Host, u.Path,u.RawQuery) + uri = fmt.Sprintf("%s://%s%s?%s;csv", u.Scheme, u.Host, u.Path, u.RawQuery) } req, err := http.NewRequest("GET", uri, nil) if u.User != nil {