1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CODE: Fix simple staticcheck items (#1329)

This commit is contained in:
Tom Limoncelli
2021-12-14 16:28:37 -05:00
committed by GitHub
parent cc6638fb95
commit 02c5258396
6 changed files with 5 additions and 15 deletions

View File

@ -175,9 +175,6 @@ func (c *bindProvider) GetZoneRecords(domain string) (models.Records, error) {
if err != nil {
return nil, err
}
// FIXME(tlim): Empty branch? Is the intention to skip SOAs?
if rec.Type == "SOA" {
}
foundRecords = append(foundRecords, &rec)
}