diff --git a/consul/server_manager/server_manager.go b/consul/server_manager/server_manager.go index ee3b09b4f8..37ae6f700a 100644 --- a/consul/server_manager/server_manager.go +++ b/consul/server_manager/server_manager.go @@ -213,7 +213,7 @@ func (sm *ServerManager) NotifyFailedServer(server *server_details.ServerDetails serverCfg = sm.getServerConfig() if len(serverCfg.servers) > 0 && serverCfg.servers[0] == server { - serverCfg.cycleServer() + serverCfg.servers = serverCfg.cycleServer() sm.saveServerConfig(serverCfg) } }