diff options
Diffstat (limited to 'middleware/cache')
-rw-r--r-- | middleware/cache/cache.go | 2 | ||||
-rw-r--r-- | middleware/cache/item.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/middleware/cache/cache.go b/middleware/cache/cache.go index 758c298aa..2cd897145 100644 --- a/middleware/cache/cache.go +++ b/middleware/cache/cache.go @@ -130,7 +130,7 @@ const ( defaultCap = 10000 // default capacity of the cache. - // Success is the class for caching postive caching. + // Success is the class for caching positive caching. Success = "success" // Denial is the class defined for negative caching. Denial = "denial" diff --git a/middleware/cache/item.go b/middleware/cache/item.go index 0af3b67ef..37c4f048a 100644 --- a/middleware/cache/item.go +++ b/middleware/cache/item.go @@ -47,7 +47,7 @@ func newItem(m *dns.Msg, d time.Duration) *item { } // toMsg turns i into a message, it tailers the reply to m. -// The Autoritative bit is always set to 0, because the answer is from the cache. +// The Authoritative bit is always set to 0, because the answer is from the cache. func (i *item) toMsg(m *dns.Msg) *dns.Msg { m1 := new(dns.Msg) m1.SetReply(m) |