[DRE-commits] [vagrant-libvirt] 62/67: remove not require return

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


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

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

commit 2ac0855a1f4eac433793aa803752bd2f431b3982
Author: dima <pronix.service at gmail.com>
Date:   Sat Jan 18 10:58:30 2014 +0100

    remove not require return
---
 lib/vagrant-libvirt/action/create_network_interfaces.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vagrant-libvirt/action/create_network_interfaces.rb b/lib/vagrant-libvirt/action/create_network_interfaces.rb
index 5def587..3ac5bd5 100644
--- a/lib/vagrant-libvirt/action/create_network_interfaces.rb
+++ b/lib/vagrant-libvirt/action/create_network_interfaces.rb
@@ -167,7 +167,7 @@ module VagrantPlugins
           # TODO only iterate over networks of type private_network
           # and prepend the management network to that list
           @logger.debug "Did not find network so using default of #{@management_network_name}"
-          return @management_network_name
+          @management_network_name
         end
       end
     end

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