lib/facter/facts/linux/partitions.rb in facter-4.0.34 vs lib/facter/facts/linux/partitions.rb in facter-4.0.35

- old
+ new

@@ -9,10 +9,10 @@ Facter::ResolvedFact.new(FACT_NAME, partitions) end def partitions parts = Facter::Resolvers::Partitions.resolve(:partitions) - mountpoints = Facter::Resolvers::Linux::Mountpoints.resolve(:mountpoints) + mountpoints = Facter::Resolvers::Mountpoints.resolve(:mountpoints) return parts unless mountpoints mountpoints.each do |mnt| next unless parts[mnt[:device]]