mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
Fix some typos (#2560)
* Fix some typos Corect some words for reading more easily * Update NOERROR response code NOERROR is a response code so I revert the typo checking for it
This commit is contained in:
committed by
Miek Gieben
parent
871bce3a23
commit
8d09cb243f
@@ -11,7 +11,7 @@ type ScrubWriter struct {
|
||||
// NewScrubWriter returns a new and initialized ScrubWriter.
|
||||
func NewScrubWriter(req *dns.Msg, w dns.ResponseWriter) *ScrubWriter { return &ScrubWriter{w, req} }
|
||||
|
||||
// WriteMsg overrides the default implementation of the underlaying dns.ResponseWriter and calls
|
||||
// WriteMsg overrides the default implementation of the underlying dns.ResponseWriter and calls
|
||||
// scrub on the message m and will then write it to the client.
|
||||
func (s *ScrubWriter) WriteMsg(m *dns.Msg) error {
|
||||
state := Request{Req: s.req, W: s.ResponseWriter}
|
||||
|
||||
Reference in New Issue
Block a user