Refactor #12957
current_parameters in hostgroup is not needed
Description
current_parameters in host refreshes all host parameters including those that are inherited from hg, os, etc.
In hostgroup the only parameters present are the hostgroup's and it's ancestor's group parameters.
When the parent changes the parameters are already refreshed through process_hostgroup.
current_parameters is invoked in other cases (like changing an os) that are relavant for host but not for hostgroup as they have no affect on hostgroup's parameters tab.
Associated revisions
History
#1
Updated by The Foreman Bot almost 4 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3011 added
#2
Updated by Dominic Cleal almost 4 years ago
- Category set to Web Interface
- Legacy Backlogs Release (now unused) set to 71
#3
Updated by Ori Rabin almost 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 43860d6ea465586df8c43a99a5f4287ff1f8c88d.
Fixes #12957 - removing current_parameters from hostgroup