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

[hp] Another fix to the simple instrumentor.

This commit is contained in:
Rupak Ganguly 2013-08-05 16:10:27 -04:00
parent 491e0fdf48
commit 713e950eed

View file

@ -15,9 +15,10 @@ module Excon
$stderr.puts("--- #{name} ---")
if name.include?('.request')
query = ''
tmp_query = ''
if params.has_key?(:query) && !params[:query].nil?
params[:query].each do |key, value|
query += "#{key}=#{value}&"
tmp_query += "#{key}=#{value}&"
end
if !tmp_query.nil?
query = "?#{tmp_query}"