fixup! Inherit previous instance's stats in statsd plugin.

This commit is contained in:
HUANG Wei 2016-03-18 11:28:43 +08:00
parent 1d46a7c7c2
commit 2c56db3531
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ func (s *Statsd) Start(_ telegraf.Accumulator) error {
s.done = make(chan struct{})
s.in = make(chan []byte, s.AllowedPendingMessages)
if (prevInstance == nil) {
if prevInstance == nil {
s.gauges = make(map[string]cachedgauge)
s.counters = make(map[string]cachedcounter)
s.sets = make(map[string]cachedset)