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

Merge pull request #2277 from fnichol/linode-excon-invalid-host-key

[linode|compute] Avoid passing host to request.
This commit is contained in:
Wesley Beary 2013-10-16 08:57:33 -07:00
commit 1b7dfb2fc9

View file

@ -95,7 +95,7 @@ module Fog
params[:query] ||= {}
params[:query].merge!(:api_key => @linode_api_key)
response = @connection.request(params.merge!({:host => @host}))
response = @connection.request(params)
unless response.body.empty?
response.body = Fog::JSON.decode(response.body)