mirror of https://github.com/grpc/grpc-go.git
Remove metadata when creating an Address
This commit is contained in:
parent
cf595a8fcd
commit
5d8c1e2d84
|
|
@ -156,8 +156,7 @@ func (rr *roundRobin) watchAddrUpdates() error {
|
|||
defer rr.mu.Unlock()
|
||||
for _, update := range updates {
|
||||
addr := Address{
|
||||
Addr: update.Addr,
|
||||
Metadata: update.Metadata,
|
||||
Addr: update.Addr,
|
||||
}
|
||||
switch update.Op {
|
||||
case naming.Add:
|
||||
|
|
|
|||
Loading…
Reference in New Issue