diff --git a/plugins/inputs/haproxy/haproxy_test.go b/plugins/inputs/haproxy/haproxy_test.go index 41b84dae9cc60..ec34e817bb87f 100644 --- a/plugins/inputs/haproxy/haproxy_test.go +++ b/plugins/inputs/haproxy/haproxy_test.go @@ -17,8 +17,6 @@ import ( "github.com/influxdata/telegraf/testutil" ) -type statServer struct{} - func serverSocket(l net.Listener) { for { conn, err := l.Accept()