[DRE-commits] [vagrant-libvirt] 38/77: Fix destroy in vagrant 1.5.1+

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:56:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.17
in repository vagrant-libvirt.

commit 1d9284934ffd0d39735dcf9593d00236527c3ef3
Author: Steven Leung <sleung at iparadigms.com>
Date:   Wed Apr 16 15:18:25 2014 -0700

    Fix destroy in vagrant 1.5.1+
    
    Addresses issue pradels/vagrant-libvirt#166
---
 lib/vagrant-libvirt/action/prune_nfs_exports.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/vagrant-libvirt/action/prune_nfs_exports.rb b/lib/vagrant-libvirt/action/prune_nfs_exports.rb
index 9668db4..3b8eef8 100644
--- a/lib/vagrant-libvirt/action/prune_nfs_exports.rb
+++ b/lib/vagrant-libvirt/action/prune_nfs_exports.rb
@@ -15,7 +15,8 @@ module VagrantPlugins
             uuids = env[:libvirt_compute].servers.all.map(&:id)
             # not exiisted in array will removed from nfs
             uuids.delete(uuid)
-            env[:host].nfs_prune(uuids)
+            env[:host].capability(
+              :nfs_prune, env[:machine].ui, uuids)
           end
 
           @app.call(env)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list