Fixed instance priority inheritance
This was caused by regression in
b10bafce48.
Resolves: RHEL-94842
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
df64818e9c
commit
94be52a165
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ class Merger(object):
|
|||
profile_a.units[unit_name].type = unit.type
|
||||
profile_a.units[unit_name].enabled = unit.enabled
|
||||
profile_a.units[unit_name].devices = unit.devices
|
||||
if unit.priority is not None:
|
||||
profile_a.units[unit_name].priority = unit.priority
|
||||
if unit.devices_udev_regex is not None:
|
||||
profile_a.units[unit_name].devices_udev_regex = unit.devices_udev_regex
|
||||
if unit.cpuinfo_regex is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue