Skip to content

Commit

Permalink
Explictly return from utils.Dig to satisfy linter
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Ewing <[email protected]>
  • Loading branch information
bewing committed Dec 17, 2024
1 parent 3112412 commit e5a9e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/utils/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func Dig(fqdn string, maxRecursion int, edgeDNSServers ...DNSServer) (ips []stri
}
}
sort.Strings(ips)
return
return ips, nil
}

func Exchange(m *dns.Msg, edgeDNSServers []DNSServer) (msg *dns.Msg, err error) {
Expand Down

0 comments on commit e5a9e8c

Please sign in to comment.