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:
parent
491e0fdf48
commit
713e950eed
1 changed files with 2 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue