aboutsummaryrefslogtreecommitdiff
path: root/plugin/dnssec/setup.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/dnssec/setup.go')
-rw-r--r--plugin/dnssec/setup.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/dnssec/setup.go b/plugin/dnssec/setup.go
index 2f5c21d97..012ba5b3d 100644
--- a/plugin/dnssec/setup.go
+++ b/plugin/dnssec/setup.go
@@ -77,7 +77,7 @@ func dnssecParse(c *caddy.Controller) ([]string, []*DNSKEY, int, error) {
zones[i] = plugin.Host(zones[i]).Normalize()
}
- // Check if each keys owner name can actually sign the zones we want them to sign
+ // Check if each keys owner name can actually sign the zones we want them to sign.
for _, k := range keys {
kname := plugin.Name(k.K.Header().Name)
ok := false
@@ -88,7 +88,7 @@ func dnssecParse(c *caddy.Controller) ([]string, []*DNSKEY, int, error) {
}
}
if !ok {
- return zones, keys, capacity, fmt.Errorf("key %s (keyid: %d) can not sign any of the zones", string(kname), k.keytag)
+ return zones, keys, capacity, fmt.Errorf("key %s (keyid: %d) can not sign any of the zones", string(kname), k.tag)
}
}