lib/flapjack/configuration.rb in flapjack-0.9.6 vs lib/flapjack/configuration.rb in flapjack-1.0.0rc1
- old
+ new
@@ -43,9 +43,11 @@
(redis_path ? { :path => redis_path } :
{ :host => (redis['host'] || '127.0.0.1'),
:port => (redis['port'] || 6379)})
)
+ redis_config[:password] = redis["password"] if redis["password"]
+
redis_config
end
def load(filename)
@filename = nil