From 989cc55ece4eaf3d10b2f36c7bb042c5693b2865 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 22:03:22 -0500 Subject: [PATCH] Unexport statsd.BufferLen --- statsd/statsd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/statsd/statsd.go b/statsd/statsd.go index 81cfbb2b4..0bb369fac 100644 --- a/statsd/statsd.go +++ b/statsd/statsd.go @@ -29,8 +29,8 @@ const ( // Prefix is appended to each metric event name Prefix = "pilosa." - // BufferLen Stats lient buffer size. - BufferLen = 1024 + // bufferLen Stats lient buffer size. + bufferLen = 1024 ) // Ensure client implements interface. @@ -45,7 +45,7 @@ type StatsClient struct { // NewStatsClient returns a new instance of StatsClient. func NewStatsClient(host string) (*StatsClient, error) { - c, err := statsd.NewBuffered(host, BufferLen) + c, err := statsd.NewBuffered(host, bufferLen) if err != nil { return nil, err }