aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yong Tang <yongtang@users.noreply.github.com> 2016-10-17 16:59:12 -0700
committerGravatar GitHub <noreply@github.com> 2016-10-17 16:59:12 -0700
commit7843a2bd91067dd405b0636afdd0a29669e92b22 (patch)
tree2307a993261c53d8c58d96823a5e645803d33895
parentd536272201b117e18c909a921358fa19dee89f35 (diff)
downloadcoredns-7843a2bd91067dd405b0636afdd0a29669e92b22.tar.gz
coredns-7843a2bd91067dd405b0636afdd0a29669e92b22.tar.zst
coredns-7843a2bd91067dd405b0636afdd0a29669e92b22.zip
Small golint cleanup. (#338)
A small golint cleanup. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
-rw-r--r--middleware/pkg/response/typify_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/pkg/response/typify_test.go b/middleware/pkg/response/typify_test.go
index 8d0644e3b..ff07f59fc 100644
--- a/middleware/pkg/response/typify_test.go
+++ b/middleware/pkg/response/typify_test.go
@@ -9,7 +9,7 @@ import (
)
func TestTypifyNilMsg(t *testing.T) {
- var m *dns.Msg = nil
+ var m *dns.Msg
ty, _ := Typify(m)
if ty != OtherError {