From 94be52a16548220a9c3367466beca46c915203a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 2 Jun 2025 22:29:36 +0200 Subject: [PATCH] Fixed instance priority inheritance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was caused by regression in b10bafce4832c6df32133dee562b066a10895968. Resolves: RHEL-94842 Signed-off-by: Jaroslav Škarvada --- tuned/profiles/merger.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tuned/profiles/merger.py b/tuned/profiles/merger.py index d22e54f..8611f48 100644 --- a/tuned/profiles/merger.py +++ b/tuned/profiles/merger.py @@ -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: