mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Use the new namespace in Atlas config
This commit is contained in:
parent
62065e013a
commit
bb7b954a5f
1 changed files with 2 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue