[DRE-commits] [vagrant-libvirt] 60/163: Replaced a puts with logger

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:57:06 UTC 2016


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

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

commit e2fe68768f42bbe27c9789374e1d1d187975989c
Author: Thomas Boerger <tboerger at suse.de>
Date:   Wed Oct 8 09:43:21 2014 +0200

    Replaced a puts with logger
---
 lib/vagrant-libvirt/action/prepare_nfs_settings.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vagrant-libvirt/action/prepare_nfs_settings.rb b/lib/vagrant-libvirt/action/prepare_nfs_settings.rb
index 494457d..ebb9c54 100644
--- a/lib/vagrant-libvirt/action/prepare_nfs_settings.rb
+++ b/lib/vagrant-libvirt/action/prepare_nfs_settings.rb
@@ -44,7 +44,7 @@ module VagrantPlugins
             domain = env[:libvirt_compute].servers.get(machine.id.to_s)
             xml=Nokogiri::XML(domain.to_xml)
             networkname = xml.xpath('/domain/devices/interface/source').first.attributes['network'].value.to_s
-            puts "network name = #{networkname}"
+            @logger.info("Using network named #{networkname}")
             net = env[:libvirt_compute].list_networks.find {|netw| netw[:name] == networkname}
           end
           # FIXME better implement by libvirt xml parsing

-- 
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