higebu/vagrant-vyos

View on GitHub

Showing 1 of 1 total issue

Method configure_networks has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def self.configure_networks(machine, networks)
          machine.communicate.tap do |comm|

            commands = <<-EOS
if [ "$(id -g -n)" != 'vyattacfg' ] ; then
Severity: Minor
Found in lib/vagrant-vyos/cap/configure_networks.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language