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