aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/dnsutil/ttl.go
diff options
context:
space:
mode:
authorGravatar Zhizhen He <hezhizhen.yi@gmail.com> 2023-08-10 23:06:48 +0800
committerGravatar GitHub <noreply@github.com> 2023-08-10 11:06:48 -0400
commit2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b (patch)
treef4fbc4794fdd5036a09ed5bb2316d1e5bdb4badb /plugin/pkg/dnsutil/ttl.go
parentc657af467b4d5a81fdd296f0917213db71a3dd6d (diff)
downloadcoredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.tar.gz
coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.tar.zst
coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.zip
Fix typos (#6235)
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
Diffstat (limited to 'plugin/pkg/dnsutil/ttl.go')
-rw-r--r--plugin/pkg/dnsutil/ttl.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/pkg/dnsutil/ttl.go b/plugin/pkg/dnsutil/ttl.go
index e2b26526d..c7f423a76 100644
--- a/plugin/pkg/dnsutil/ttl.go
+++ b/plugin/pkg/dnsutil/ttl.go
@@ -48,5 +48,6 @@ const (
// MinimalDefaultTTL is the absolute lowest TTL we use in CoreDNS.
MinimalDefaultTTL = 5 * time.Second
// MaximumDefaulTTL is the maximum TTL was use on RRsets in CoreDNS.
+ // TODO: rename as MaximumDefaultTTL
MaximumDefaulTTL = 1 * time.Hour
)