mirror of
https://github.com/coredns/coredns.git
synced 2026-05-26 03:40:23 -04:00
fix: reject unknown trace and dnstap block options (#8120)
This commit is contained in:
@@ -44,6 +44,7 @@ func TestTraceParse(t *testing.T) {
|
||||
{"trace {\n zipkin_max_backlog_size\n}", true, "", 1, `coredns`, false, 0, 0, 0},
|
||||
{"trace {\n zipkin_max_batch_size\n}", true, "", 1, `coredns`, false, 0, 0, 0},
|
||||
{"trace {\n zipkin_max_batch_interval\n}", true, "", 1, `coredns`, false, 0, 0, 0},
|
||||
{"trace {\n evrey 100\n}", true, "", 1, `coredns`, false, 0, 0, 0},
|
||||
}
|
||||
for i, test := range tests {
|
||||
c := caddy.NewTestController("dns", test.input)
|
||||
|
||||
Reference in New Issue
Block a user