Pass config.store[:s3_config] directly to fog to allow for greater flexibility in configuring S3 backend

This commit is contained in:
Torbjörn Norinder 2014-03-17 17:49:05 +01:00
parent 546726ce7d
commit f8132559a5

View file

@ -7,8 +7,7 @@ class Riemann::Dash::BrowserConfig::S3
@path = path @path = path
@config = config @config = config
@storage = Fog::Storage.new(:region => config[:region], @storage = Fog::Storage::AWS.new(config)
:provider => 'AWS')
end end
def read def read