mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Update Storage sync_clock to do an unauthenticated GET request to the root S3 URL to prevent 403 errors if the user doesn't have ListBuckets permissions
This commit is contained in:
parent
e07f5a0d3e
commit
f55ddd3c8f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ module Fog
|
|||
#
|
||||
def sync_clock
|
||||
response = begin
|
||||
get_service
|
||||
Excon.get("#{@scheme}://#{@host}")
|
||||
rescue Excon::Errors::HTTPStatusError => error
|
||||
error.response
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue