mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
@@ -188,8 +188,8 @@ func TestStop(t *testing.T) {
|
||||
|
||||
h := &errorHandler{
|
||||
patterns: []*pattern{{
|
||||
period: 2 * time.Second,
|
||||
pattern: regexp.MustCompile("^error.*!$"),
|
||||
period: 2 * time.Second,
|
||||
pattern: regexp.MustCompile("^error.*!$"),
|
||||
logCallback: log.Errorf,
|
||||
}},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user