mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(#11) Provide a way to delete all vms acquired by token
This commit adds a way for a user to delete all vms that were obtained by a specific token. It will ask the user if they are sure before deleting everything.
This commit is contained in:
parent
bc4cff5363
commit
a0ba604006
3 changed files with 34 additions and 3 deletions
|
|
@ -49,7 +49,7 @@ class Auth
|
|||
res_body = JSON.parse(response.body)
|
||||
|
||||
if res_body["ok"]
|
||||
puts res_body
|
||||
res_body
|
||||
else
|
||||
STDERR.puts "There was a problem with your request:"
|
||||
puts res_body
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue