mirror of
https://github.com/coredns/coredns.git
synced 2025-10-31 18:23:13 -04:00
Fix context passing (#2681)
This commit is contained in:
committed by
Miek Gieben
parent
26e4026ec1
commit
f798d18bdd
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
func TestDnstapContext(t *testing.T) {
|
||||
ctx := tapContext{context.TODO(), Dnstap{}}
|
||||
ctx := ContextWithTapper(context.TODO(), Dnstap{})
|
||||
tapper := TapperFromContext(ctx)
|
||||
|
||||
if tapper == nil {
|
||||
|
||||
Reference in New Issue
Block a user