Skip to content

Commit

Permalink
using passthrough instead of dead resolver as default
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <[email protected]>
  • Loading branch information
CodeLieutenant committed May 12, 2024
1 parent 8e8ee6c commit 5c0fcf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc/resolvers/dns_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (d *DNSResolverBuilder) Build(target resolver.Target, cc resolver.ClientCon
addr := []resolver.Address{{Addr: ipAddr + ":" + port}}
_ = cc.UpdateState(resolver.State{Addresses: addr})
cancel()
return resolver.Get("dead").Build(target, cc, opts)
return resolver.Get("passthrough").Build(target, cc, opts)
}

if d.options.resolver == nil {
Expand Down

0 comments on commit 5c0fcf7

Please sign in to comment.