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

Revert "CLEANUP: Fix many golint/staticcheck issues"

This reverts commit de64f90c51.
This commit is contained in:
Tom Limoncelli
2022-01-25 10:35:21 -05:00
parent de64f90c51
commit 360a6266c5
13 changed files with 46 additions and 43 deletions

View File

@@ -452,7 +452,6 @@ func (recs Records) FQDNMap() (m map[string]bool) {
return m
}
// GetByType returns the records that match rtype typeName.
func (recs Records) GetByType(typeName string) Records {
results := Records{}
for _, rec := range recs {