Skip to content

Commit

Permalink
Change the UI type name
Browse files Browse the repository at this point in the history
  • Loading branch information
felipedf committed Nov 6, 2018
1 parent 5ab40e4 commit 1b364dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/ems_refresh/save_inventory_physical_infra.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,17 @@ def save_asset_detail_inventory(parent, hash)
end

#
# Saves the disks information of a resource
# Saves the disks information of a storage
#
def save_physical_disks_inventory(parent, hashes)
def save_physical_disks_inventory(physical_storage, hashes)
return if hashes.nil?

# Update the associated ids
hashes.each do |h|
h[:canister_id] = h.delete(:canister).try(:[], :id)
end

save_inventory_multi(parent.physical_disks, hashes, :use_association, [:ems_ref])
save_inventory_multi(physical_storage.physical_disks, hashes, :use_association, [:ems_ref])
end

#
Expand Down
1 change: 1 addition & 0 deletions locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ en:
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalRack: Physical Rack (Lenovo)
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalChassis: Physical Chassis (Lenovo)
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalServer: Physical Server (Lenovo)
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalStorage: Physical Storage (Lenovo)
ManageIQ::Providers::Lenovo::PhysicalInfraManager::PhysicalSwitch: Physical Switch (Lenovo)
ManageIQ::Providers::Redfish::PhysicalInfraManager::PhysicalServer: Physical Server (Redfish)
MeteringContainerImage: Metering for Image
Expand Down

0 comments on commit 1b364dc

Please sign in to comment.