NFS action no longer needs to recover from anything
This commit is contained in:
parent
def09573c6
commit
06733a070d
|
@ -36,15 +36,6 @@ module Vagrant
|
|||
mount_folders if !folders.empty?
|
||||
end
|
||||
|
||||
def recover(env)
|
||||
# Ignore any VagrantErrors, because they were expected and
|
||||
# will cause the VM to stick around.
|
||||
return if env["vagrant.error"].is_a?(Errors::VagrantError)
|
||||
|
||||
# Otherwise, clear the NFS exports.
|
||||
clear_nfs_exports(env)
|
||||
end
|
||||
|
||||
# Returns the folders which are to be synced via NFS.
|
||||
def folders
|
||||
@folders ||= {}
|
||||
|
|
Loading…
Reference in New Issue