fix wrong spells in zone.go (#3135)

This commit is contained in:
AllenZMC 2019-08-17 23:29:46 +08:00 committed by Miek Gieben
parent 86edb15c27
commit bde393096f

View file

@ -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()