Fix data race in input plugin ping_windows

This commit is contained in:
Jakub Warczarek 2020-07-06 21:29:51 +02:00
parent eb06e027f0
commit c116f0d039
1 changed files with 0 additions and 4 deletions

View File

@ -13,10 +13,6 @@ import (
)
func (p *Ping) pingToURL(u string, acc telegraf.Accumulator) {
if p.Count < 1 {
p.Count = 1
}
tags := map[string]string{"url": u}
fields := map[string]interface{}{"result_code": 0}