fixup! Inherit previous instance's stats in statsd plugin.
This commit is contained in:
parent
1d46a7c7c2
commit
2c56db3531
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue