diff --git a/plugin/errors/errors_test.go b/plugin/errors/errors_test.go index ba9a9b571..1cd42b40c 100644 --- a/plugin/errors/errors_test.go +++ b/plugin/errors/errors_test.go @@ -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, }}, }