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

Fix [excon][WARNING] Invalid Excon request keys: :host exception.

This commit is contained in:
Mevan Samaratunga 2015-01-05 22:58:23 -05:00
parent f1500ba000
commit 855fcc63ef

View file

@ -75,7 +75,7 @@ module Fog
end end
begin begin
response = @connection.request(params.merge!({:host => @host})) response = @connection.request(params)
rescue Excon::Errors::HTTPStatusError => error rescue Excon::Errors::HTTPStatusError => error
raise case error raise case error
when Excon::Errors::NotFound when Excon::Errors::NotFound