From 18c89b1e0fc0b927cea7829afa561ea126688c6a Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 22 Feb 2011 12:05:26 +0000 Subject: [PATCH] fixed an issue with loading configs --- lib/amqp/failover/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/amqp/failover/config.rb b/lib/amqp/failover/config.rb index c8a5fb3..1b63c92 100644 --- a/lib/amqp/failover/config.rb +++ b/lib/amqp/failover/config.rb @@ -7,7 +7,7 @@ module AMQP attr_accessor :last_fail def initialize(hash = {}, last_fail_date = nil) - self.replace(symbolize_keys(defaults.merge(hash))) + self.replace(defaults.merge(symbolize_keys(hash))) self.last_fail = last_fail_date if last_fail_date end