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
|
@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
|
||||||
|
|
Loading…
Reference in a new issue