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

[linode|dns] avoid passing host to request

see #2248
This commit is contained in:
geemus 2013-10-16 10:24:41 -05:00
parent d180fb510f
commit 51fcdfc43d

View file

@ -70,7 +70,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)