lib/aerospike/cluster/cluster.rb in aerospike-1.0.1 vs lib/aerospike/cluster/cluster.rb in aerospike-1.0.2
- old
+ new
@@ -333,10 +333,10 @@
end
# Finds a node by name in a list of nodes
def find_node_name(list, name)
- list.any?{|name| node.name == name}
+ list.any?{|node| node.name == name}
end
def add_alias(host, node)
if host && node
@mutex.synchronize do