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:
parent
964f04f443
commit
bcb2eb1ecc
25 changed files with 105 additions and 150 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue