Format hosts if --notoken is used

This commit is contained in:
Brian Cain 2016-08-15 11:46:19 -07:00
parent 9612d72453
commit 64a88106a0

View file

@ -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