From 5197945e561cbac9da46d18c4dda88439271f965 Mon Sep 17 00:00:00 2001 From: Mikhail Zholobov Date: Thu, 23 Oct 2014 11:04:21 +0400 Subject: [PATCH] providers/virtualbox: Remove unused method "using_nfs?" Related to [GH-4344] --- .../providers/virtualbox/action/prepare_nfs_settings.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/providers/virtualbox/action/prepare_nfs_settings.rb b/plugins/providers/virtualbox/action/prepare_nfs_settings.rb index 9835f0f43..c5f95af1f 100644 --- a/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +++ b/plugins/providers/virtualbox/action/prepare_nfs_settings.rb @@ -30,13 +30,6 @@ module VagrantPlugins end end - # We're using NFS if we have any synced folder with NFS configured. If - # we are not using NFS we don't need to do the extra work to - # populate these fields in the environment. - def using_nfs? - @machine.config.vm.synced_folders.any? { |_, opts| opts[:type] == :nfs } - end - # Extracts the proper host and guest IPs for NFS mounts and stores them # in the environment for the SyncedFolder action to use them in # mounting.