1
0
Fork 0

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:
Jaroslav Škarvada 2025-06-02 22:29:36 +02:00
parent df64818e9c
commit 94be52a165

View file

@ -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: