lib/wire/commands/verify_command.rb
# run verification on given +zones+
run verification on given +zones+
run verification on given + zones +
def run_on_project_zones(zones)
      zones.select do |zone_name, _|
        $log.debug("Verifying zone #{zone_name} ...")
        b_zone_res = run_on_zone(zone_name)
        if b_zone_res
          outputs 'VERIFY', "Zone \'#{zone_name}\' verified successfully", :ok
        else
          outputs 'VERIFY', "Zone \'#{zone_name}\' NOT verified successfully", :err
        end
        b_zone_res == false
      end
    end
def run_on_project_zones ( zones ) zones . select do | zone_name , _ | $log . debug ( "Verifying zone #{zone_name} ..." ) b_zone_res = run_on_zone ( zone_name ) if b_zone_res outputs 'VERIFY' , "Zone \'#{zone_name}\' verified successfully" , :ok else outputs 'VERIFY' , "Zone \'#{zone_name}\' NOT verified successfully" , :err end b_zone_res == false end end
run verification on given +zones+
run verification on given + zones +
zones
<not_specific>