aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar AllenZMC <zhongming.chang@daocloud.io> 2019-08-19 21:36:59 +0800
committerGravatar Chris O'Haver <cohaver@infoblox.com> 2019-08-19 09:36:59 -0400
commit8ab83a175a563b4dac2b8c8b66c30fa68578c115 (patch)
treea9a5fe39905c9d0b80d7c3389b23bad68c063e5b
parent81bba8015977952b1d923f2368371ff314d0d063 (diff)
downloadcoredns-8ab83a175a563b4dac2b8c8b66c30fa68578c115.tar.gz
coredns-8ab83a175a563b4dac2b8c8b66c30fa68578c115.tar.zst
coredns-8ab83a175a563b4dac2b8c8b66c30fa68578c115.zip
fix mis-spelling in item.go (#3156)
-rw-r--r--plugin/cache/item.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cache/item.go b/plugin/cache/item.go
index edc7610a4..3071f1512 100644
--- a/plugin/cache/item.go
+++ b/plugin/cache/item.go
@@ -54,7 +54,7 @@ func (i *item) toMsg(m *dns.Msg, now time.Time) *dns.Msg {
m1 := new(dns.Msg)
m1.SetReply(m)
- // Set this to true as some DNS clients disgard the *entire* packet when it's non-authoritative.
+ // Set this to true as some DNS clients discard the *entire* packet when it's non-authoritative.
// This is probably not according to spec, but the bit itself is not super useful as this point, so
// just set it to true.
m1.Authoritative = true