From e7a35636fdda9460885f2e3135b9e4732d2b657e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 1 Mar 2016 15:02:56 +0100 Subject: [PATCH] Turn Redis parameters into symbols --- lib/remote_storage/swift.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/remote_storage/swift.rb b/lib/remote_storage/swift.rb index 1b2dfee..c929d5d 100644 --- a/lib/remote_storage/swift.rb +++ b/lib/remote_storage/swift.rb @@ -3,6 +3,7 @@ require "json" require "cgi" require "active_support/core_ext/time/conversions" require "active_support/core_ext/numeric/time" +require "active_support/core_ext/hash" require "redis" require "digest/md5" @@ -533,7 +534,7 @@ module RemoteStorage end def redis - @redis ||= Redis.new(settings.redis) + @redis ||= Redis.new(settings.redis.symbolize_keys) end def directory_backend(user)