lib/redis_failover/client.rb in nogara-redis_failover-1.0.1 vs lib/redis_failover/client.rb in nogara-redis_failover-1.0.2

- old
+ new

@@ -402,10 +402,10 @@ # # @param [Array<String>] new_nodes the new redis nodes # @return [Boolean] true if nodes are different, false otherwise def nodes_changed?(new_nodes) return true if address_for(@master) != new_nodes[:master] - return true if different?(addresses_for(@slaves), new_nodes[:slaves]) + # return true if different?(addresses_for(@slaves), new_nodes[:slaves]) false end # Disconnects one or more redis clients. #