Skip to content

Commit

Permalink
client: fast resolve address
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwinger233 committed Aug 17, 2020
1 parent b9b1ab9 commit d83f3b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/resolver/eru/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func New(cc resolver.ClientConn, endpoint string, authority string) *Resolver {
cc: cc,
discovery: servicediscovery.New(endpoint, authConfig),
}
cc.UpdateState(resolver.State{Addresses: []resolver.Address{resolver.Address{endpoint}}})
go r.sync()
return r
}
Expand Down

0 comments on commit d83f3b7

Please sign in to comment.