mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #3757: Use path uri for marketplace client
This commit is contained in:
parent
d840ce3eb3
commit
830eb33967
@ -41,12 +41,12 @@ module Market
|
||||
end
|
||||
|
||||
def get(path)
|
||||
req = Net::HTTP::Proxy(@host, @port)::Get.new(path)
|
||||
req = Net::HTTP::Proxy(@host, @port)::Get.new(@uri.path + path)
|
||||
do_request(req)
|
||||
end
|
||||
|
||||
def post(path, body)
|
||||
req = Net::HTTP::Proxy(@host, @port)::Post.new(path)
|
||||
req = Net::HTTP::Proxy(@host, @port)::Post.new(@uri.path + path)
|
||||
req.body = body
|
||||
|
||||
do_request(req)
|
||||
|
Loading…
x
Reference in New Issue
Block a user