From 6ed37d1d8dec2feb20b269d73d4909533e69fe12 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Wed, 24 Feb 2016 10:38:37 -0800 Subject: [PATCH] Comment nits --- consul/server_manager/server_manager.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/consul/server_manager/server_manager.go b/consul/server_manager/server_manager.go index dfe8939de..cbdec6b5b 100644 --- a/consul/server_manager/server_manager.go +++ b/consul/server_manager/server_manager.go @@ -89,7 +89,7 @@ type ServerManager struct { // shutdownCh is a copy of the channel in consul.Client shutdownCh chan struct{} - // Logger uses the provided LogOutput + // logger uses the provided LogOutput logger *log.Logger } @@ -134,8 +134,8 @@ func (sm *ServerManager) AddServer(server *server_details.ServerDetails) { // CycleFailedServers takes out an internal write lock and dequeues all // failed servers and re-enqueues them. This method does not reshuffle the -// server list. Because this changed the order of servers, we push out the -// time at which a rebalance occurs. +// server list, instead it requests the rebalance duration be refreshed/reset +// further into the future. func (sm *ServerManager) CycleFailedServers() { sm.serverConfigLock.Lock() defer sm.serverConfigLock.Unlock()