From bb7b954a5feaa613d2ce91f4e19080a71b176666 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 8 Dec 2014 22:06:41 -0800 Subject: [PATCH] Use the new namespace in Atlas config --- plugins/pushes/atlas/config.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/pushes/atlas/config.rb b/plugins/pushes/atlas/config.rb index 5c4a1a7cf..d4d2da2c5 100644 --- a/plugins/pushes/atlas/config.rb +++ b/plugins/pushes/atlas/config.rb @@ -139,12 +139,8 @@ module VagrantPlugins # @return [String, nil] # the token, or nil if it does not exist def token_from_vagrant_login(env) - if defined?(VagrantPlugins::Login::Client) - client = VagrantPlugins::Login::Client.new(env) - return client.token - end - - nil + client = VagrantPlugins::LoginCommand::Client.new(env) + client.token end end end