mirror of
https://github.com/coredns/coredns.git
synced 2025-12-09 11:55:13 -05:00
cleanup: go vet and golint run (#736)
* cleanup: go vet and golint run Various cleanups trickered by go vet and golint. * Fix tests and lowercase all errors Lowercase all errors, some tests in kubernetes use errors from kubernetes which do start with a capital letter.
This commit is contained in:
@@ -108,7 +108,7 @@ func Typify(m *dns.Msg, t time.Time) (Type, *dns.OPT) {
|
||||
return NameError, opt
|
||||
}
|
||||
|
||||
if ns > 0 && ns > 0 && m.Rcode == dns.RcodeSuccess {
|
||||
if ns > 0 && m.Rcode == dns.RcodeSuccess {
|
||||
return Delegation, opt
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user