lib/facter/facts/macosx/network_interfaces.rb in facter-4.0.34 vs lib/facter/facts/macosx/network_interfaces.rb in facter-4.0.35

- old
+ new

@@ -6,10 +6,10 @@ FACT_NAME = 'network_.*' TYPE = :legacy def call_the_resolver arr = [] - interfaces = Facter::Resolvers::Macosx::Networking.resolve(:interfaces) + interfaces = Facter::Resolvers::Networking.resolve(:interfaces) interfaces&.each do |interface_name, info| arr << Facter::ResolvedFact.new("network_#{interface_name}", info[:network], :legacy) if info[:network] end arr