mirror of
https://github.com/coredns/coredns.git
synced 2025-12-07 19:05:19 -05:00
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.
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user