Pass config.store[:s3_config] directly to fog to allow for greater flexibility in configuring S3 backend
This commit is contained in:
parent
546726ce7d
commit
f8132559a5
1 changed files with 1 additions and 2 deletions
|
@ -7,8 +7,7 @@ class Riemann::Dash::BrowserConfig::S3
|
|||
@path = path
|
||||
@config = config
|
||||
|
||||
@storage = Fog::Storage.new(:region => config[:region],
|
||||
:provider => 'AWS')
|
||||
@storage = Fog::Storage::AWS.new(config)
|
||||
end
|
||||
|
||||
def read
|
||||
|
|
Loading…
Reference in a new issue