1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

Merge pull request #651 from duckworth/sync-clock-use-no-authentication

change sync_clock to plain GET
This commit is contained in:
Wesley Beary 2022-07-21 15:26:21 -05:00 committed by GitHub
commit d777a65b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ module Fog
# #
def sync_clock def sync_clock
response = begin response = begin
get_service Excon.get("#{@scheme}://#{@host}")
rescue Excon::Errors::HTTPStatusError => error rescue Excon::Errors::HTTPStatusError => error
error.response error.response
end end