diff options
author | 2019-03-23 05:45:21 -0400 | |
---|---|---|
committer | 2019-03-23 09:45:20 +0000 | |
commit | 403d42ce200f3c2074c521e4287728f2b8d2bf0d (patch) | |
tree | 3dc24dbdd66299fa85da8bc550034190ed35ae85 /plugin/dnstap/test/helpers.go | |
parent | 0e137b23f152c70590e82f0b5985b2faf104c8e0 (diff) | |
download | coredns-403d42ce200f3c2074c521e4287728f2b8d2bf0d.tar.gz coredns-403d42ce200f3c2074c521e4287728f2b8d2bf0d.tar.zst coredns-403d42ce200f3c2074c521e4287728f2b8d2bf0d.zip |
Support logging to dnstap in forward plugin (#2703)
Diffstat (limited to 'plugin/dnstap/test/helpers.go')
-rw-r--r-- | plugin/dnstap/test/helpers.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugin/dnstap/test/helpers.go b/plugin/dnstap/test/helpers.go index 4f71a5a83..5f498d59f 100644 --- a/plugin/dnstap/test/helpers.go +++ b/plugin/dnstap/test/helpers.go @@ -1,7 +1,6 @@ package test import ( - "context" "net" "reflect" @@ -10,12 +9,6 @@ import ( tap "github.com/dnstap/golang-dnstap" ) -// Context is a message trap. -type Context struct { - context.Context - TrapTapper -} - // TestingData returns the Data matching coredns/test.ResponseWriter. func TestingData() (d *msg.Builder) { d = &msg.Builder{ |