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:
parent
ecda8f01bc
commit
1f0486d6b9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user