Remove metadata when creating an Address

This commit is contained in:
iamqizhao
2016-05-26 16:14:27 -07:00
parent cf595a8fcd
commit 5d8c1e2d84

View File

@ -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: