mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Format hosts if --notoken is used
This commit is contained in:
parent
9612d72453
commit
64a88106a0
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class Vmfloaty
|
||||||
unless os_types.empty?
|
unless os_types.empty?
|
||||||
if no_token
|
if no_token
|
||||||
response = Pooler.retrieve(verbose, os_types, nil, url)
|
response = Pooler.retrieve(verbose, os_types, nil, url)
|
||||||
puts response
|
puts Utils.format_hosts(response)
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
unless token
|
unless token
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue