lib/facts/macosx/memory/swap/used.rb in facter-4.0.18 vs lib/facts/macosx/memory/swap/used.rb in facter-4.0.19

- old
+ new

@@ -7,10 +7,10 @@ class Used FACT_NAME = 'memory.swap.used' def call_the_resolver fact_value = Facter::Resolvers::Macosx::SwapMemory.resolve(:used_bytes) - fact_value = Facter::BytesToHumanReadable.convert(fact_value) + fact_value = Facter::FactsUtils::UnitConverter.bytes_to_human_readable(fact_value) Facter::ResolvedFact.new(FACT_NAME, fact_value) end end end