Skip to content

Commit

Permalink
fix a typo in local dns
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Dec 6, 2018
1 parent f49f85b commit 6b355ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/dns/localdns/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (*Client) LookupIP(host string) ([]net.IP, error) {
return nil, err
}
parsedIPs := make([]net.IP, 0, len(ips))
for _, ip := range parsedIPs {
for _, ip := range ips {
parsed := net.IPAddress(ip)
if parsed != nil {
parsedIPs = append(parsedIPs, parsed.IP())
Expand Down

0 comments on commit 6b355ef

Please # to comment.