From fc5658521c8584ae598d1fbe8efbc468979d93b2 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Mon, 23 May 2016 23:28:42 -0700 Subject: [PATCH] index on f-dyn-server-list: bd38cb4 Remove unused code --- client/consul/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/consul/sync.go b/client/consul/sync.go index f97b34449..d53c4a869 100644 --- a/client/consul/sync.go +++ b/client/consul/sync.go @@ -410,7 +410,7 @@ func (c *Syncer) RunHandlers() { handlers[name] = fn } c.periodicLock.RUnlock() - for name, fn := range handlers { + for _, fn := range handlers { fn() } }