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()
for _, update := range updates {
addr := Address{
Addr: update.Addr,
Metadata: update.Metadata,
Addr: update.Addr,
}
switch update.Op {
case naming.Add: