mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
all: gometalinter (#843)
* kubernetes/reverse: remove deadcode * deadcode in errors and kubernetes removed * unnecessary conversion * constants * proxy: time.Since() * simplications * static check * Disable test/external_test
This commit is contained in:
@@ -25,7 +25,7 @@ func TestCacheSet(t *testing.T) {
|
||||
state := request.Request{Req: m}
|
||||
k := hash(m.Answer) // calculate *before* we add the sig
|
||||
d := New([]string{"miek.nl."}, []*DNSKEY{dnskey}, nil, c)
|
||||
m = d.Sign(state, "miek.nl.", time.Now().UTC())
|
||||
d.Sign(state, "miek.nl.", time.Now().UTC())
|
||||
|
||||
_, ok := d.get(k)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user