Fix hang in dns_query plugin (#4841)

This commit is contained in:
kostya-sh 2018-10-11 02:29:33 +01:00 committed by Daniel Nelson
parent a6b5f2c093
commit 7344693ca8
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ func (d *DnsQuery) Gather(acc telegraf.Accumulator) error {
}
acc.AddFields("dns_query", fields, tags)
wg.Done()
}(domain, server)
}
}