mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(spec) Add spec tests for Pooler class
This commit is contained in:
parent
6ee138f08e
commit
beeac3858c
2 changed files with 170 additions and 3 deletions
|
|
@ -122,7 +122,7 @@ class Pooler
|
|||
conn = Http.get_conn(verbose, url)
|
||||
conn.headers['X-AUTH-TOKEN'] = token
|
||||
|
||||
response = conn.post "/vm/#{hostname}/snapshot/#{snapshot}"
|
||||
response = conn.post "/vm/#{hostname}/snapshot/#{snapshot_sha}"
|
||||
res_body = JSON.parse(response.body)
|
||||
res_body
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue