mirror of https://github.com/grpc/grpc-go.git
Add the missing address metadata
This commit is contained in:
parent
a0ff1e78a9
commit
5688542ad1
|
|
@ -166,6 +166,7 @@ func (rr *roundRobin) watchAddrUpdates() error {
|
||||||
for _, update := range updates {
|
for _, update := range updates {
|
||||||
addr := Address{
|
addr := Address{
|
||||||
Addr: update.Addr,
|
Addr: update.Addr,
|
||||||
|
Metadata: update.Metadata,
|
||||||
}
|
}
|
||||||
switch update.Op {
|
switch update.Op {
|
||||||
case naming.Add:
|
case naming.Add:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue