minor: remove unused method

This commit is contained in:
Kyle Banker 2011-08-25 11:34:24 -04:00
parent f3fbb98fa8
commit 0e227d5a39

View File

@ -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.