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

[linode|compute] Avoid passing host to request.

References #2248
This commit is contained in:
Fletcher Nichol 2013-10-16 09:47:28 -06:00
parent 965fbb7e5b
commit 30b592f2f5

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)