Use the new namespace in Atlas config

This commit is contained in:
Seth Vargo 2014-12-08 22:06:41 -08:00
parent 62065e013a
commit bb7b954a5f
1 changed files with 2 additions and 6 deletions

View File

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