lib/facter/facts/linux/disks.rb in facter-4.2.5 vs lib/facter/facts/linux/disks.rb in facter-4.2.6
- old
+ new
@@ -6,10 +6,10 @@
FACT_NAME = 'disks'
ALIASES = %w[blockdevices blockdevice_.*_model blockdevice_.*_size blockdevice_.*_vendor].freeze
def call_the_resolver
facts = []
- disks = Facter::Resolvers::Linux::Disk.resolve(:disks)
+ disks = Facter::Resolvers::Linux::Disks.resolve(:disks)
return Facter::ResolvedFact.new(FACT_NAME, nil) if disks.nil? || disks.empty?
blockdevices = disks.keys.join(',')
facts.push(Facter::ResolvedFact.new(FACT_NAME, disks))