mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix error - invalid excon request keys: :host
This commit is contained in:
parent
7880a55d6a
commit
a0232f5270
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ module Fog
|
|||
})
|
||||
|
||||
begin
|
||||
response = @connection.request(params.merge!({:host => @host}))
|
||||
response = @connection.request(params)
|
||||
rescue Excon::Errors::HTTPStatusError => error
|
||||
raise case error
|
||||
when Excon::Errors::NotFound
|
||||
|
|
|
@ -79,7 +79,7 @@ module Fog
|
|||
end
|
||||
|
||||
begin
|
||||
response = @connection.request(params.merge!({:host => @host}))
|
||||
response = @connection.request(params)
|
||||
rescue Excon::Errors::HTTPStatusError => error
|
||||
raise case error
|
||||
when Excon::Errors::NotFound
|
||||
|
|
Loading…
Reference in a new issue