mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Add failure message if modify command did not work
This commit is contained in:
parent
2153507098
commit
0effe55c31
3 changed files with 6 additions and 2 deletions
|
|
@ -121,6 +121,10 @@ class Vmfloaty
|
|||
modify_req = Pooler.modify(verbose, url, hostname, token, lifetime, tags)
|
||||
if modify_req["ok"]
|
||||
puts "Successfully modified vm #{hostname}."
|
||||
else
|
||||
STDERR.puts "Something went wrong with your request"
|
||||
puts modify_req
|
||||
exit 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
class Version
|
||||
@version = '0.2.10'
|
||||
@version = '0.2.11'
|
||||
|
||||
def self.get
|
||||
@version
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Gem::Specification.new do |s|
|
||||
s.name = 'vmfloaty'
|
||||
s.version = '0.2.10'
|
||||
s.version = '0.2.11'
|
||||
s.authors = ['Brian Cain']
|
||||
s.email = ['brian.cain@puppetlabs.com']
|
||||
s.license = 'Apache'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue