Remove duplicate loop in net_response plugin (#7055)

This commit is contained in:
James Buchan
2020-02-20 11:31:41 -07:00
committed by GitHub
parent 5023df08d8
commit cd2a77a95b

View File

@@ -223,9 +223,6 @@ func (n *NetResponse) Gather(acc telegraf.Accumulator) error {
} else {
return errors.New("Bad protocol")
}
for key, value := range returnTags {
tags[key] = value
}
// Merge the tags
for k, v := range returnTags {
tags[k] = v