mirror of
https://github.com/puppetlabs/beaker-vmpooler.git
synced 2026-01-25 18:48:41 -05:00
Merge pull request #15 from jwjs36987/fix_disk_url
(maint) Fix the API URL for adding disks
This commit is contained in:
commit
b463b50cbe
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ module Beaker
|
|||
end
|
||||
|
||||
begin
|
||||
uri = URI.parse(@options[:pooling_api] + '/api/v1/vm/' + hostname + '/disk/' + disk_size.to_s)
|
||||
uri = URI.parse(@options[:pooling_api] + '/vm/' + hostname + '/disk/' + disk_size.to_s)
|
||||
|
||||
http = Net::HTTP.new(uri.host, uri.port)
|
||||
request = Net::HTTP::Post.new(uri.request_uri)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue