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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

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