lib/facter/resolvers/freebsd/geom_resolver.rb in facter-4.0.46 vs lib/facter/resolvers/freebsd/geom_resolver.rb in facter-4.0.47
- old
+ new
@@ -49,10 +49,10 @@
return res unless (mediasize = provider.get_text('mediasize'))
mediasize = Integer(mediasize.value)
res[:size_bytes] = mediasize
- res[:size] = Facter::FactsUtils::UnitConverter.bytes_to_human_readable(mediasize)
+ res[:size] = Facter::Util::Facts::UnitConverter.bytes_to_human_readable(mediasize)
res
end
def read_model(provider)
res = {}