mirror of
https://github.com/coredns/coredns.git
synced 2025-12-14 14:25:27 -05:00
dnstap.TapperFromContext always returns nil (#2018)
Automatically submitted.
This commit is contained in:
@@ -51,7 +51,7 @@ func TapperFromContext(ctx context.Context) (t Tapper) {
|
||||
}
|
||||
|
||||
// TapMessage implements Tapper.
|
||||
func (h *Dnstap) TapMessage(m *tap.Message) {
|
||||
func (h Dnstap) TapMessage(m *tap.Message) {
|
||||
t := tap.Dnstap_MESSAGE
|
||||
h.IO.Dnstap(tap.Dnstap{
|
||||
Type: &t,
|
||||
|
||||
Reference in New Issue
Block a user