aboutsummaryrefslogtreecommitdiff
path: root/middleware/proxy/lookup.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-06-14 09:37:10 -0700
committerGravatar GitHub <noreply@github.com> 2017-06-14 09:37:10 -0700
commite49ca86ce463395f7d0d2b997c93d25e3d101ca0 (patch)
tree9457aa245a6ccc278a296d341370eae99e1f78b2 /middleware/proxy/lookup.go
parent5c10eba31c17dcc5d95431e655280fff19979a34 (diff)
downloadcoredns-e49ca86ce463395f7d0d2b997c93d25e3d101ca0.tar.gz
coredns-e49ca86ce463395f7d0d2b997c93d25e3d101ca0.tar.zst
coredns-e49ca86ce463395f7d0d2b997c93d25e3d101ca0.zip
cleanup: go vet and golint run (#736)
* cleanup: go vet and golint run Various cleanups trickered by go vet and golint. * Fix tests and lowercase all errors Lowercase all errors, some tests in kubernetes use errors from kubernetes which do start with a capital letter.
Diffstat (limited to 'middleware/proxy/lookup.go')
-rw-r--r--middleware/proxy/lookup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/proxy/lookup.go b/middleware/proxy/lookup.go
index 370307cc1..e871774cf 100644
--- a/middleware/proxy/lookup.go
+++ b/middleware/proxy/lookup.go
@@ -17,7 +17,7 @@ func NewLookup(hosts []string) Proxy {
return NewLookupWithOption(hosts, Options{})
}
-// NewLookupWithForcedProto process creates a simple round robin forward with potentially forced proto for upstream.
+// NewLookupWithOption process creates a simple round robin forward with potentially forced proto for upstream.
func NewLookupWithOption(hosts []string, opts Options) Proxy {
p := Proxy{Next: nil}