aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-08-24 18:14:25 +0000
committerGravatar GitHub <noreply@github.com> 2019-08-24 18:14:25 +0000
commit07748d0c34b4c8329dfce8d1fe976ba61152dfec (patch)
treea2b1a2eb5481f4ea769e7c34c937d44ecd62a8c7 /test
parent62451fd3eb68cef5dcdafe6e4228f08cf52d84fc (diff)
downloadcoredns-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.go2
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
}