Remove metadata when creating an Address
This commit is contained in:
@ -156,8 +156,7 @@ func (rr *roundRobin) watchAddrUpdates() error {
|
|||||||
defer rr.mu.Unlock()
|
defer rr.mu.Unlock()
|
||||||
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:
|
||||||
|
Reference in New Issue
Block a user