mirror of
https://github.com/puppetlabs/beaker-vmpooler.git
synced 2026-01-26 02:58:42 -05:00
Revert "Fix the API URL for adding disks"
This reverts commit 64c827fab0.
This commit is contained in:
parent
a504de0ae4
commit
4063b01ba0
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ module Beaker
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
uri = URI.parse(@options[:pooling_api] + '/vm/' + hostname + '/disk/' + disk_size.to_s)
|
uri = URI.parse(@options[:pooling_api] + '/api/v1/vm/' + hostname + '/disk/' + disk_size.to_s)
|
||||||
|
|
||||||
http = Net::HTTP.new(uri.host, uri.port)
|
http = Net::HTTP.new(uri.host, uri.port)
|
||||||
request = Net::HTTP::Post.new(uri.request_uri)
|
request = Net::HTTP::Post.new(uri.request_uri)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue