mirror of
https://github.com/jimeh/amqp-failover.git
synced 2026-02-19 10:56:44 +00:00
fixed an issue with loading configs
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user