From 22a54300681e7a6b4e1a471bed32ee0280e06ab7 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 22 Nov 2013 17:18:08 -0800 Subject: [PATCH] synced_folders/nfs: use proper error classes --- plugins/synced_folders/nfs/synced_folder.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/synced_folders/nfs/synced_folder.rb b/plugins/synced_folders/nfs/synced_folder.rb index ec16c6a97..db9aa13fe 100644 --- a/plugins/synced_folders/nfs/synced_folder.rb +++ b/plugins/synced_folders/nfs/synced_folder.rb @@ -23,8 +23,8 @@ module VagrantPlugins end def enable(machine, folders, nfsopts) - raise Errors::NFSNoHostIP if !nfsopts[:nfs_host_ip] - raise Errors::NFSNoGuestIP if !nfsopts[:nfs_machine_ip] + raise Vagrant::Errors::NFSNoHostIP if !nfsopts[:nfs_host_ip] + raise Vagrant::Errors::NFSNoGuestIP if !nfsopts[:nfs_machine_ip] machine_ip = nfsopts[:nfs_machine_ip] machine_ip = [machine_ip] if !machine_ip.is_a?(Array)