diff options
author | 2021-07-12 10:32:17 +0000 | |
---|---|---|
committer | 2021-07-12 10:32:17 +0000 | |
commit | ae0431e4da2f5f135afe4bf16333636eea4ceb2c (patch) | |
tree | d161c1a1a5874c300aa594c0f72ac66385c00240 /plugin/errors | |
parent | d17e50afc7e231b0389596cbe69b82f85e4221f3 (diff) | |
download | coredns-ae0431e4da2f5f135afe4bf16333636eea4ceb2c.tar.gz coredns-ae0431e4da2f5f135afe4bf16333636eea4ceb2c.tar.zst coredns-ae0431e4da2f5f135afe4bf16333636eea4ceb2c.zip |
auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
Diffstat (limited to 'plugin/errors')
-rw-r--r-- | plugin/errors/errors_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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, }}, } |