Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tag mapping in graph refresh #382

Merged
merged 9 commits into from
Jan 4, 2018
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def vm_and_template_taggings(extra_attributes = {})
manager_uuids = inventory_collection.parent_inventory_collections.collect(&:manager_uuids).map(&:to_a).flatten
ems = inventory_collection.parent
ems.vm_and_template_taggings.where(
'taggable_id' => ems.vms_and_templates(:ems_ref => manager_uuids)
'taggable_id' => ems.vms_and_templates.where(:ems_ref => manager_uuids)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah :-o

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha that'll do it

)
end

Expand Down