mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Provide client to manager enable helper method
This commit is contained in:
parent
070292fb3b
commit
d2f795e11b
1 changed files with 2 additions and 2 deletions
|
|
@ -15,11 +15,11 @@ module VagrantPlugins
|
|||
)
|
||||
if context.metadata["plugin_manager"] && info.broker
|
||||
Service::ServiceInfo.manager_tracker.activate do
|
||||
info.plugin_manager = Client::PluginManager.load(
|
||||
client = Client::PluginManager.load(
|
||||
context.metadata["plugin_manager"],
|
||||
broker: info.broker
|
||||
)
|
||||
Vagrant.plugin("2").enable_remote_manager
|
||||
Vagrant.plugin("2").enable_remote_manager(client)
|
||||
end
|
||||
end
|
||||
Thread.current.thread_variable_set(:service_info, info)
|
||||
|
|
|
|||
Loading…
Reference in a new issue