From 897fde327442662d1a02d309f3455e1628889e79 Mon Sep 17 00:00:00 2001 From: Teemu Matilainen Date: Thu, 5 Dec 2013 00:21:16 -0300 Subject: [PATCH] Add missing argument to ProviderVirtualBox::SyncedFolder#driver call GH-2577 missed passing the `machine` to the `driver` method. --- plugins/providers/virtualbox/synced_folder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/providers/virtualbox/synced_folder.rb b/plugins/providers/virtualbox/synced_folder.rb index 47b9c945e..52d642a05 100644 --- a/plugins/providers/virtualbox/synced_folder.rb +++ b/plugins/providers/virtualbox/synced_folder.rb @@ -62,7 +62,7 @@ module VagrantPlugins end def cleanup(machine) - driver.clear_shared_folders + driver(machine).clear_shared_folders end protected