diff options
author | 2019-08-24 18:14:25 +0000 | |
---|---|---|
committer | 2019-08-24 18:14:25 +0000 | |
commit | 07748d0c34b4c8329dfce8d1fe976ba61152dfec (patch) | |
tree | a2b1a2eb5481f4ea769e7c34c937d44ecd62a8c7 /test | |
parent | 62451fd3eb68cef5dcdafe6e4228f08cf52d84fc (diff) | |
download | coredns-07748d0c34b4c8329dfce8d1fe976ba61152dfec.tar.gz coredns-07748d0c34b4c8329dfce8d1fe976ba61152dfec.tar.zst coredns-07748d0c34b4c8329dfce8d1fe976ba61152dfec.zip |
go report card fixes (#3182)
Went over the list at https://goreportcard.com/report/github.com/coredns/coredns
and removed/fix some code to make it slightly happier.
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'test')
-rw-r--r-- | test/secondary_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/secondary_test.go b/test/secondary_test.go index fd9d4d562..1aef05d29 100644 --- a/test/secondary_test.go +++ b/test/secondary_test.go @@ -73,7 +73,7 @@ func TestSecondaryZoneTransfer(t *testing.T) { var r *dns.Msg // This is now async; we need to wait for it to be transferred. for i := 0; i < 10; i++ { - r, err = dns.Exchange(m, udp) + r, _ = dns.Exchange(m, udp) if len(r.Answer) != 0 { break } |