From 5d8c1e2d84502be80f51ef76b02bca1b91e47d98 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Thu, 26 May 2016 16:14:27 -0700 Subject: [PATCH] Remove metadata when creating an Address --- balancer.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/balancer.go b/balancer.go index 91e03b65..64043b5d 100644 --- a/balancer.go +++ b/balancer.go @@ -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: