Skip to content

Commit

Permalink
Merge pull request ManageIQ#21623 from agrare/fix_ems_custom_attribut…
Browse files Browse the repository at this point in the history
…es_inventory_collection

Fix the ems_custom_attributes inventory collection
  • Loading branch information
Fryguy authored Dec 16, 2021
2 parents 3d0bb18 + 128cef6 commit 72021d9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def host_operating_systems
def ems_custom_attributes
add_properties(
:model_class => ::CustomAttribute,
:manager_ref => %i(name),
:manager_ref => %i(resource name),
:parent_inventory_collections => %i(vms miq_templates),
)
end
Expand All @@ -84,8 +84,8 @@ def vm_and_template_ems_custom_fields

add_properties(
:model_class => ::CustomAttribute,
:manager_ref => %i(name),
:parent_inventory_collections => %i(vms)
:manager_ref => %i(resource name),
:parent_inventory_collections => %i(vms miq_templates)
)

add_inventory_attributes(%i(section name value source resource))
Expand Down

0 comments on commit 72021d9

Please sign in to comment.