aboutsummaryrefslogtreecommitdiff
path: root/request
diff options
context:
space:
mode:
authorGravatar Nguyen Quang Huy <huynq0911@gmail.com> 2019-02-17 15:31:12 +0700
committerGravatar Miek Gieben <miek@miek.nl> 2019-02-17 08:31:12 +0000
commit8d09cb243f09704c39609499c4d07f27e3e2e39c (patch)
tree1b818cbb6258386ebf5088e162012ab15791c969 /request
parent871bce3a234bd0bb00f202bc44fd6a058fe667cb (diff)
downloadcoredns-8d09cb243f09704c39609499c4d07f27e3e2e39c.tar.gz
coredns-8d09cb243f09704c39609499c4d07f27e3e2e39c.tar.zst
coredns-8d09cb243f09704c39609499c4d07f27e3e2e39c.zip
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
Diffstat (limited to 'request')
-rw-r--r--request/writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/request/writer.go b/request/writer.go
index 67be53ebb..6caba0c2e 100644
--- a/request/writer.go
+++ b/request/writer.go
@@ -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}