mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -32,7 +32,6 @@ func stripZone(host string) string {
|
||||
func HostPortOrFile(s ...string) ([]string, error) {
|
||||
var servers []string
|
||||
for _, h := range s {
|
||||
|
||||
trans, host := Transport(h)
|
||||
|
||||
addr, _, err := net.SplitHostPort(host)
|
||||
|
||||
Reference in New Issue
Block a user