1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-26 06:50:09 +03:00

Feature #4217: Fix for Ruby 1.9

This commit is contained in:
Jaime Melis 2016-02-11 13:12:24 +01:00
parent ecda8f01bc
commit 1f0486d6b9

View File

@ -34,7 +34,7 @@ class OneMarket
def get(path)
uri = URI(@url + path)
req = Net::HTTP::Get.new(uri)
req = Net::HTTP::Get.new(uri.request_uri)
req['User-Agent'] = @agent