Remove duplicate loop in net_response plugin (#7055)
This commit is contained in:
parent
5023df08d8
commit
cd2a77a95b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue