Skip to content

Commit

Permalink
Fix update driven vm refresh operating systems
Browse files Browse the repository at this point in the history
The parent collection for operating systems needs to be
:vms_and_templates not [:vms, :miq_templates]
  • Loading branch information
agrare committed Mar 21, 2018
1 parent d4656e6 commit ec241d8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,10 @@ def disks(extra_attributes = {})
attributes = {:parent_inventory_collections => [:vms_and_templates]}
super(attributes.merge(extra_attributes))
end

def operating_systems(extra_attributes = {})
attributes = {:parent_inventory_collections => [:vms_and_templates]}
super(attributes.merge(extra_attributes))
end
end
end

0 comments on commit ec241d8

Please sign in to comment.