From e49ca86ce463395f7d0d2b997c93d25e3d101ca0 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Wed, 14 Jun 2017 09:37:10 -0700 Subject: 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. --- test/reload_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/reload_test.go') diff --git a/test/reload_test.go b/test/reload_test.go index 61fc76b26..0f9db5059 100644 --- a/test/reload_test.go +++ b/test/reload_test.go @@ -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)) } } -- cgit v1.2.3