mirror of
https://github.com/coredns/coredns.git
synced 2025-10-29 09:14:17 -04: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:
@@ -45,6 +45,6 @@ func send(t *testing.T, server string) {
|
||||
t.Fatalf("Expected successful reply, got %s", dns.RcodeToString[r.Rcode])
|
||||
}
|
||||
if len(r.Extra) != 2 {
|
||||
t.Fatalf("Expected 2 RRs in additional, got %s", len(r.Extra))
|
||||
t.Fatalf("Expected 2 RRs in additional, got %d", len(r.Extra))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user