Return remote plugin instances

This commit is contained in:
Chris Roberts 2022-02-14 16:41:03 -08:00 committed by Paul Hinze
parent 4a9d501823
commit a5b3ca9f6d
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
2 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ module Vagrant
def communicate
@logger.debug("Getting communicator from client")
if !@communicate
@communicate = Vagrant::Plugin::V2::Communicator.new(self)
@communicate = Vagrant::Plugin::Remote::Communicator.new(self)
end
@communicate
end
@ -306,7 +306,7 @@ module Vagrant
next if f[:folder][:disabled]
# TODO: get type of synced folder
impl = :virtualbox
sf = Vagrant::Plugin::V2::SyncedFolder.new(client: f[:plugin])
sf = Vagrant::Plugin::Remote::SyncedFolder.new(client: f[:plugin])
# Set plugin, guestpath and hostpath from synced folder info
folders[impl] = {f[:folder][:destination] => f[:folder].merge({
plugin: sf,

View File

@ -60,7 +60,7 @@ module VagrantPlugins
end
def converter(client)
Vagrant::Plugin::V2::SyncedFolder.new(client: client)
Vagrant::Plugin::Remote::SyncedFolder.new(client: client)
end
end
end