mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-06-22 09:12:28 +00:00
add client address option, fix noop resolver
This commit is contained in:
@ -34,7 +34,8 @@ type resolvr struct {
|
||||
}
|
||||
|
||||
func (r *resolvr) run() {
|
||||
if r.reg.String() == "passthroug" {
|
||||
if r.reg.String() == "noop" {
|
||||
r.cc.UpdateState(resolver.State{Addresses: []resolver.Address{{Addr: r.target.Endpoint}}})
|
||||
return
|
||||
}
|
||||
var name, version string
|
||||
|
Reference in New Issue
Block a user