cosmetic: resolve some more linter complaints
This commit is contained in:
1 parent
4bef9d90fb
commit
b43a3e9ab2
4 files changed
+5
-5
No files matched your search
@@ -214,7 +214,7 @@ func (c *MDNSClient) ResponseCallback(r *dns.Msg) {
|
||||
}
|
||||
|
||||
if query, found := c.inflight[name]; found {
|
||||
newResponseInfos := make([]*responseInfo, 0)
|
||||
var newResponseInfos []*responseInfo
|
||||
for _, resp := range query.responseInfos {
|
||||
resp.ch <- res
|
||||
// insistent queries are not removed on the first reply, but on the timeout
|
||||
|
||||
Reference in new issue
Block a user