mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[zerigo] Fix Invalid Excon request warning
This was triggering the warning: `[excon][WARNING] Invalid Excon request keys: :host` Followed by a stacktrace. Looking at [fog#2292][1] and the related issues this seems like the right fix and seems to work fine. [1]: https://github.com/fog/fog/pull/2292
This commit is contained in:
parent
2450057915
commit
765b841a97
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,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