Skip to content

Commit

Permalink
Update pkg/discovery/dns/miekgdns/resolver.go
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Lucas Servén Marín <lserven@gmail.com>
  • Loading branch information
pracucci and squat committed Apr 11, 2022
1 parent 9873cab commit 58d5c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/discovery/dns/miekgdns/resolver.go
Expand Up @@ -79,7 +79,7 @@ func (r *Resolver) lookupIPAddr(host string, currIteration, maxIterations int) (
// Recursively resolve it.
addrs, err := r.lookupIPAddr(addr.Target, currIteration+1, maxIterations)
if err != nil {
return nil, errors.Wrapf(err, "failed to recursively resolve %s", addr.Target)
return nil, errors.Wrapf(err, "recursively resolve %s", addr.Target)
}
resp = append(resp, addrs...)
default:
Expand Down

0 comments on commit 58d5c12

Please sign in to comment.