diff --git a/app/models/ems_refresh/save_inventory_physical_infra.rb b/app/models/ems_refresh/save_inventory_physical_infra.rb index 20da1340f1b..d8d5df4fd6e 100644 --- a/app/models/ems_refresh/save_inventory_physical_infra.rb +++ b/app/models/ems_refresh/save_inventory_physical_infra.rb @@ -46,7 +46,7 @@ def save_physical_servers_inventory(ems, hashes, target = nil) [] end - child_keys = [:computer_system, :asset_details, :host] + child_keys = [:computer_system, :asset_details, :hosts] save_inventory_multi(ems.physical_servers, hashes, deletes, [:ems_ref], child_keys) store_ids_for_new_records(ems.physical_servers, hashes, :ems_ref) end