diff --git a/app/models/manageiq/providers/ibm_cloud/inventory/parser/vpc.rb b/app/models/manageiq/providers/ibm_cloud/inventory/parser/vpc.rb index ea6775161..7999a580d 100644 --- a/app/models/manageiq/providers/ibm_cloud/inventory/parser/vpc.rb +++ b/app/models/manageiq/providers/ibm_cloud/inventory/parser/vpc.rb @@ -182,7 +182,7 @@ def vm_and_template_taggings(resource, tags_inventory_objects) def flavors collector.flavors.each do |flavor| memory = flavor&.dig(:memory, :value) - disk = flavor[:disks].first&.dig(:size, :value) || 0 + disk = flavor[:disks]&.first&.dig(:size, :value) || 0 persister.flavors.build( :ems_ref => flavor[:name], :name => flavor[:name],