mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Fix --notoken flag
This commit is contained in:
parent
98741e5e4a
commit
9495dd3ee8
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ class Vmfloaty
|
|||
include Commander::Methods
|
||||
|
||||
def run
|
||||
program :version, '0.2.4'
|
||||
program :version, '0.2.5'
|
||||
program :description, 'A CLI helper tool for Puppet Labs vmpooler to help you stay afloat'
|
||||
|
||||
config = read_config
|
||||
|
|
@ -34,7 +34,7 @@ class Vmfloaty
|
|||
no_token = options.notoken
|
||||
|
||||
if no_token
|
||||
response = Pooler.retrieve(verbose, os_types, token, url)
|
||||
response = Pooler.retrieve(verbose, os_types, nil, url)
|
||||
puts response
|
||||
return
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue