mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
log/forward plugins: Extend dns query logging (#2240)
Automatically submitted.
This commit is contained in:
committed by
corbot[bot]
parent
e6d02a3fd2
commit
8045aa279b
@@ -17,7 +17,7 @@ func TestNewReplacer(t *testing.T) {
|
||||
r.SetQuestion("example.org.", dns.TypeHINFO)
|
||||
r.MsgHdr.AuthenticatedData = true
|
||||
|
||||
replaceValues := New(r, w, "")
|
||||
replaceValues := New(nil, r, w, "")
|
||||
|
||||
switch v := replaceValues.(type) {
|
||||
case replacer:
|
||||
@@ -47,7 +47,7 @@ func TestSet(t *testing.T) {
|
||||
r.SetQuestion("example.org.", dns.TypeHINFO)
|
||||
r.MsgHdr.AuthenticatedData = true
|
||||
|
||||
repl := New(r, w, "")
|
||||
repl := New(nil, r, w, "")
|
||||
|
||||
repl.Set("name", "coredns.io.")
|
||||
repl.Set("type", "A")
|
||||
|
||||
Reference in New Issue
Block a user