Skip to content

Commit

Permalink
bootstrap: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Jul 1, 2024
1 parent c196b4d commit 70119b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/bootstrap/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ func lookupAsync(ctx context.Context, r Resolver, network, host string, resCh ch

// lookup tries to lookup ip of host with r.
//
// TODO(e.burkov): Get rid of this function? It only wraps the actual lookup
// with dubious logging.
// TODO(e.burkov): Get rid of this function? It only wraps the actual lookup.
func lookup(ctx context.Context, r Resolver, network, host string) (addrs []netip.Addr, err error) {
addrs, err = r.LookupNetIP(ctx, network, host)

Expand Down

0 comments on commit 70119b7

Please sign in to comment.