From 0e227d5a394142c84290b248e7c0dbc011665946 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Thu, 25 Aug 2011 11:34:24 -0400 Subject: [PATCH] minor: remove unused method --- lib/mongo/util/pool_manager.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/mongo/util/pool_manager.rb b/lib/mongo/util/pool_manager.rb index d9c90e4..68e478a 100644 --- a/lib/mongo/util/pool_manager.rb +++ b/lib/mongo/util/pool_manager.rb @@ -109,19 +109,6 @@ module Mongo @nodes = [] end - def connected_nodes - nodes = [] - if @primary_pool - nodes << "#{@primary_pool.host}:#{@primary_pool.port}" - end - - @secondary_pools.each do |pool| - nodes << "#{pool.host}:#{pool.port}" - end - - nodes - end - # Connect to each member of the replica set # as reported by the given seed node, and return # as a list of Mongo::Node objects.