mirror of
https://github.com/coredns/coredns.git
synced 2025-11-20 02:42:16 -05:00
fix: correct spelling of MaximumDefaultTTL in cache and dnsutil packages (#7678)
Signed-off-by: Timur Solodovnikov <tsolodov@gmail.com>
This commit is contained in:
committed by
GitHub
parent
7d7bbc8061
commit
614a364458
@@ -47,7 +47,8 @@ func MinimalTTL(m *dns.Msg, mt response.Type) time.Duration {
|
||||
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
|
||||
// MaximumDefaultTTL is the maximum TTL was use on RRsets in CoreDNS.
|
||||
MaximumDefaultTTL = 1 * time.Hour
|
||||
// Deprecated: use MaximumDefaultTTL instead.
|
||||
MaximumDefaulTTL = MaximumDefaultTTL
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user