Skip to content

Commit

Permalink
Update transport_local.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dyhkwong authored Apr 15, 2024
1 parent 263b979 commit 610d2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (t *LocalTransport) Lookup(ctx context.Context, domain string, strategy Dom
case DomainStrategyUseIPv6:
network = "ip6"
}
addrs, err := t.resolver.LookupNetIP(context.Background(), network, domain)
addrs, err := t.resolver.LookupNetIP(ctx, network, domain)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 610d2cd

Please sign in to comment.