mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Add k8s tags to related tests (#1018)
, so that `make test` will pass by default. Also fixed several ineffassign and golint issues. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -65,9 +65,8 @@ func (d *Data) HostPort(addr string) error {
|
||||
d.SocketFam = tap.SocketFamily_INET6
|
||||
}
|
||||
return nil
|
||||
} else {
|
||||
return errors.New("not an ip address")
|
||||
}
|
||||
return errors.New("not an ip address")
|
||||
}
|
||||
|
||||
// RemoteAddr parses the information about the remote address into Data.
|
||||
|
||||
Reference in New Issue
Block a user