aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar AllenZMC <zhongming.chang@daocloud.io> 2019-08-17 23:29:46 +0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-08-17 15:29:46 +0000
commitbde393096f76dc02752f71f9deff5934353e4eb8 (patch)
tree959d81f9aabe3594c00d3d5872882e8051249e27 /plugin
parent86edb15c279029685786288cb433b730e50553fb (diff)
downloadcoredns-bde393096f76dc02752f71f9deff5934353e4eb8.tar.gz
coredns-bde393096f76dc02752f71f9deff5934353e4eb8.tar.zst
coredns-bde393096f76dc02752f71f9deff5934353e4eb8.zip
fix wrong spells in zone.go (#3135)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/file/zone.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/zone.go b/plugin/file/zone.go
index 9a12ca69f..27c951774 100644
--- a/plugin/file/zone.go
+++ b/plugin/file/zone.go
@@ -155,7 +155,7 @@ func (z *Zone) TransferAllowed(state request.Request) bool {
}
// All returns all records from the zone, the first record will be the SOA record,
-// otionally followed by all RRSIG(SOA)s.
+// optionally followed by all RRSIG(SOA)s.
func (z *Zone) All() []dns.RR {
records := []dns.RR{}
z.RLock()