lib/facts/windows/memory/system/used.rb in facter-4.0.18 vs lib/facts/windows/memory/system/used.rb in facter-4.0.19
- old
+ new
@@ -7,10 +7,10 @@
class Used
FACT_NAME = 'memory.system.used'
def call_the_resolver
fact_value = Facter::Resolvers::Memory.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