aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Zhou Hao <zhouhao@cn.fujitsu.com> 2020-08-20 15:59:35 +0800
committerGravatar GitHub <noreply@github.com> 2020-08-20 09:59:35 +0200
commitabeba46029e4d833f756b61365cff5a361c497f6 (patch)
tree43aeccaa1c6a8746026479b4020ba7215d38b186 /plugin
parent6c747d709793385452c0a1e86d92996fbf5fb8fa (diff)
downloadcoredns-abeba46029e4d833f756b61365cff5a361c497f6.tar.gz
coredns-abeba46029e4d833f756b61365cff5a361c497f6.tar.zst
coredns-abeba46029e4d833f756b61365cff5a361c497f6.zip
fix misspell (#4081)
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/sign/sign.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/sign/sign.go b/plugin/sign/sign.go
index e74b1e40b..982d70081 100644
--- a/plugin/sign/sign.go
+++ b/plugin/sign/sign.go
@@ -27,7 +27,7 @@ func (s *Sign) OnStartup() error {
// Various duration constants for signing of the zones.
const (
durationExpireDays = 7 * 24 * time.Hour // max time allowed before expiration
- durationResignDays = 6 * 24 * time.Hour // if the last sign happenend this long ago, sign again
+ durationResignDays = 6 * 24 * time.Hour // if the last sign happened this long ago, sign again
durationSignatureExpireDays = 32 * 24 * time.Hour // sign for 32 days
durationRefreshHours = 5 * time.Hour // check zones every 5 hours
durationInceptionJitter = -18 * time.Hour // default max jitter for the inception