Skip to content

Commit

Permalink
modscan: fix wrong field name on live config
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Hecko committed Aug 13, 2024
1 parent b01590a commit b901f2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b901f2c

Please sign in to comment.