fix lint warnings

This commit is contained in:
Darien Raymond
2018-05-31 11:55:11 +02:00
parent fe3ddb0ef5
commit adade2bffd
19 changed files with 159 additions and 80 deletions

2
dns.go
View File

@@ -55,6 +55,6 @@ func (d *syncDNSClient) Set(client DNSClient) {
d.Lock()
defer d.Unlock()
common.Close(d.DNSClient)
common.Close(d.DNSClient) // nolint: errcheck
d.DNSClient = client
}