diff options
author | 2022-07-10 20:06:33 +0200 | |
---|---|---|
committer | 2022-07-10 11:06:33 -0700 | |
commit | c2dbb7141a7c95aa521a41b27bed3af25de8f546 (patch) | |
tree | 3af5d63a0dccaa769507e34a32b6378ccef880c4 /plugin/cache | |
parent | abc5ac8017b0f434b5845321fb1f405ded7774d4 (diff) | |
download | coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.tar.gz coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.tar.zst coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.zip |
add golangci-lint linter (#5499)
Diffstat (limited to 'plugin/cache')
-rw-r--r-- | plugin/cache/cache_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cache/cache_test.go b/plugin/cache/cache_test.go index 8b279e265..851507a4d 100644 --- a/plugin/cache/cache_test.go +++ b/plugin/cache/cache_test.go @@ -609,7 +609,7 @@ func TestCacheWildcardMetadata(t *testing.T) { ctx = metadata.ContextWithMetadata(context.TODO()) w = dnstest.NewRecorder(&test.ResponseWriter{}) - c.ServeDNS(ctx, &test.ResponseWriter{}, req) + c.ServeDNS(ctx, w, req) f := metadata.ValueFunc(ctx, "zone/wildcard") if f == nil { t.Fatal("expected metadata func for wildcard response retrieved from cache, got nil") |