From 5688542ad11bc81442b46c9978942ff729b09973 Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Wed, 6 Jul 2016 11:40:57 -0700 Subject: [PATCH] Add the missing address metadata --- balancer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/balancer.go b/balancer.go index 36204995..e561dbaf 100644 --- a/balancer.go +++ b/balancer.go @@ -165,7 +165,8 @@ func (rr *roundRobin) watchAddrUpdates() error { defer rr.mu.Unlock() for _, update := range updates { addr := Address{ - Addr: update.Addr, + Addr: update.Addr, + Metadata: update.Metadata, } switch update.Op { case naming.Add: