mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Simplify how notoken arg is processed in get
This commit is contained in:
parent
5588c941c2
commit
28b145d762
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ class Vmfloaty
|
||||||
os_types = args[0]
|
os_types = args[0]
|
||||||
no_token = options.notoken
|
no_token = options.notoken
|
||||||
|
|
||||||
unless no_token.nil?
|
if no_token
|
||||||
response = Pooler.retrieve(verbose, os_types, token, url)
|
response = Pooler.retrieve(verbose, os_types, token, url)
|
||||||
puts response
|
puts response
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue