From b901f2c9a6bb5e642a75c63b4a8308b706e54b96 Mon Sep 17 00:00:00 2001 From: Michal Hecko Date: Wed, 14 Aug 2024 00:40:32 +0200 Subject: [PATCH] modscan: fix wrong field name on live config --- .../common/actors/commonleappdracutmodules/libraries/modscan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/system_upgrade/common/actors/commonleappdracutmodules/libraries/modscan.py b/repos/system_upgrade/common/actors/commonleappdracutmodules/libraries/modscan.py index c30fee5822..43cf60e66f 100644 --- a/repos/system_upgrade/common/actors/commonleappdracutmodules/libraries/modscan.py +++ b/repos/system_upgrade/common/actors/commonleappdracutmodules/libraries/modscan.py @@ -64,7 +64,7 @@ def _create_dracut_modules(): dracut_base_path = api.get_actor_folder_path('dracut') livemode_config = next(api.consume(LiveModeConfig), None) - if livemode_config and livemode_config.enabled: + if livemode_config and livemode_config.is_enabled: msg = ('Skipping requesting leapp\'s dracut modules to be included into ' 'upgrade initramfs due to livemode being enabled.') api.current_logger().debug(msg)