aboutsummaryrefslogtreecommitdiff
path: root/plugin/errors/errors.go
diff options
context:
space:
mode:
authorGravatar Ye Ben <ben.ye@daocloud.io> 2019-01-29 23:21:19 +0800
committerGravatar Chris O'Haver <cohaver@infoblox.com> 2019-01-29 10:21:19 -0500
commit0eff7f37979533d079528e3618e26a16bc33136e (patch)
tree3e6ed1ee1bd7af4934ad236068a7acb8b4b62b0b /plugin/errors/errors.go
parenta84c26d78b45e63d13903a888b8c693d0daea9f0 (diff)
downloadcoredns-0eff7f37979533d079528e3618e26a16bc33136e.tar.gz
coredns-0eff7f37979533d079528e3618e26a16bc33136e.tar.zst
coredns-0eff7f37979533d079528e3618e26a16bc33136e.zip
some typo fix (#2512)
Signed-off-by: yeya24 <ben.ye@daocloud.io>
Diffstat (limited to 'plugin/errors/errors.go')
-rw-r--r--plugin/errors/errors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/errors/errors.go b/plugin/errors/errors.go
index aa4b384b8..168092097 100644
--- a/plugin/errors/errors.go
+++ b/plugin/errors/errors.go
@@ -50,7 +50,7 @@ func errorLogger(code int, qName, qType, err string) {
}
func consLogger(cnt uint32, pattern string, p time.Duration) {
- log.Errorf("%d errors like '%s' occured in last %s", cnt, pattern, p)
+ log.Errorf("%d errors like '%s' occurred in last %s", cnt, pattern, p)
}
func (h *errorHandler) logPattern(i int) {