From 9dcb9df7ff6601cb1e84c8142b2e45007a7e546c Mon Sep 17 00:00:00 2001 From: sophia Date: Fri, 8 Apr 2022 13:44:32 -0500 Subject: [PATCH] Let mappers convert machine to proto opposed to client --- lib/vagrant/plugin/remote/synced_folder.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/plugin/remote/synced_folder.rb b/lib/vagrant/plugin/remote/synced_folder.rb index 142c1c9f5..82244b024 100644 --- a/lib/vagrant/plugin/remote/synced_folder.rb +++ b/lib/vagrant/plugin/remote/synced_folder.rb @@ -40,7 +40,7 @@ module Vagrant # any folders that should remain. # @param [Hash] opts Any options for the synced folders. def prepare(machine, folders, opts) - client.prepare(machine.to_proto, folders, opts) + client.prepare(machine, folders, opts) end # @param [Machine] machine @@ -49,7 +49,7 @@ module Vagrant # @return [Boolean] def usable?(machine, raise_error=false) begin - client.usable(machine.to_proto) + client.usable(machine) rescue raise if raise_error end