mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44: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
2
plugin/cache/cache.go
vendored
2
plugin/cache/cache.go
vendored
@@ -118,7 +118,7 @@ type ResponseWriter struct {
|
||||
|
||||
// newPrefetchResponseWriter returns a Cache ResponseWriter to be used in
|
||||
// prefetch requests. It ensures RemoteAddr() can be called even after the
|
||||
// original connetion has already been closed.
|
||||
// original connection has already been closed.
|
||||
func newPrefetchResponseWriter(server string, state request.Request, c *Cache) *ResponseWriter {
|
||||
// Resolve the address now, the connection might be already closed when the
|
||||
// actual prefetch request is made.
|
||||
|
||||
Reference in New Issue
Block a user