Skip to content
Snippets Groups Projects
Verified Commit 05d8f431 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Avoid modifying inheritance for other facets

parent 68b1a53e
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,8 @@ module ForemanPasswordstate
# Host in Base/Child2/Subchild will inherit "2"
def inherited_facet_attributes(facet_config)
return super unless facet_config.name == :passwordstate_facet
inherited_attributes = send(facet_config.name)&.inherited_attributes || {}
hostgroup_ancestry_cache.reverse_each do |hostgroup|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment