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>
This commit is contained in:
Miek Gieben
2019-08-24 18:14:25 +00:00
committed by GitHub
parent 62451fd3eb
commit 07748d0c34
5 changed files with 2 additions and 13 deletions

View File

@@ -34,7 +34,6 @@ func (s sleepPlugin) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.
return 0, nil
}
}
return 0, nil
}
func TestCancel(t *testing.T) {