lib/facter/facts/freebsd/memory/system/total.rb in facter-4.0.46 vs lib/facter/facts/freebsd/memory/system/total.rb in facter-4.0.47
- old
+ new
@@ -8,10 +8,10 @@
FACT_NAME = 'memory.system.total'
ALIASES = 'memorysize'
def call_the_resolver
fact_value = Facter::Resolvers::Freebsd::SystemMemory.resolve(:total_bytes)
- fact_value = Facter::FactsUtils::UnitConverter.bytes_to_human_readable(fact_value)
+ fact_value = Facter::Util::Facts::UnitConverter.bytes_to_human_readable(fact_value)
[Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)]
end
end
end