From 28b145d762bbfc9ffce26b249e5106acba63ee0a Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Sat, 19 Sep 2015 15:07:18 -0700 Subject: [PATCH] Simplify how notoken arg is processed in get --- lib/vmfloaty.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vmfloaty.rb b/lib/vmfloaty.rb index 835b2d0..5a334fd 100644 --- a/lib/vmfloaty.rb +++ b/lib/vmfloaty.rb @@ -33,7 +33,7 @@ class Vmfloaty os_types = args[0] no_token = options.notoken - unless no_token.nil? + if no_token response = Pooler.retrieve(verbose, os_types, token, url) puts response return