lib/facter/facts/freebsd/memory/swap/total_bytes.rb in facter-4.0.46 vs lib/facter/facts/freebsd/memory/swap/total_bytes.rb in facter-4.0.47
- old
+ new
@@ -9,10 +9,10 @@
ALIASES = 'swapsize_mb'
def call_the_resolver
fact_value = Facter::Resolvers::Freebsd::SwapMemory.resolve(:total_bytes)
[Facter::ResolvedFact.new(FACT_NAME, fact_value),
- Facter::ResolvedFact.new(ALIASES, Facter::FactsUtils::UnitConverter.bytes_to_mb(fact_value), :legacy)]
+ Facter::ResolvedFact.new(ALIASES, Facter::Util::Facts::UnitConverter.bytes_to_mb(fact_value), :legacy)]
end
end
end
end
end