diff --git a/repos/system_upgrade/common/actors/inhibitwhenluks/actor.py b/repos/system_upgrade/common/actors/checkluks/actor.py similarity index 85% rename from repos/system_upgrade/common/actors/inhibitwhenluks/actor.py rename to repos/system_upgrade/common/actors/checkluks/actor.py index 65607167d3..607fd04014 100644 --- a/repos/system_upgrade/common/actors/inhibitwhenluks/actor.py +++ b/repos/system_upgrade/common/actors/checkluks/actor.py @@ -1,11 +1,11 @@ from leapp.actors import Actor -from leapp.libraries.actor.inhibitwhenluks import check_invalid_luks_devices +from leapp.libraries.actor.checkluks import check_invalid_luks_devices from leapp.models import CephInfo, LuksDumps, StorageInfo, TargetUserSpaceUpgradeTasks, UpgradeInitramfsTasks from leapp.reporting import Report from leapp.tags import ChecksPhaseTag, IPUWorkflowTag -class InhibitWhenLuks(Actor): +class CheckLuks(Actor): """ Check if any encrypted partitions are in use and whether they are supported for the upgrade. @@ -15,7 +15,7 @@ class InhibitWhenLuks(Actor): during the process). """ - name = 'check_luks_and_inhibit' + name = 'check_luks' consumes = (CephInfo, LuksDumps, StorageInfo) produces = (Report, TargetUserSpaceUpgradeTasks, UpgradeInitramfsTasks) tags = (ChecksPhaseTag, IPUWorkflowTag) diff --git a/repos/system_upgrade/common/actors/inhibitwhenluks/libraries/inhibitwhenluks.py b/repos/system_upgrade/common/actors/checkluks/libraries/checkluks.py similarity index 100% rename from repos/system_upgrade/common/actors/inhibitwhenluks/libraries/inhibitwhenluks.py rename to repos/system_upgrade/common/actors/checkluks/libraries/checkluks.py diff --git a/repos/system_upgrade/common/actors/inhibitwhenluks/tests/test_inhibitwhenluks.py b/repos/system_upgrade/common/actors/checkluks/tests/test_checkluks.py similarity index 100% rename from repos/system_upgrade/common/actors/inhibitwhenluks/tests/test_inhibitwhenluks.py rename to repos/system_upgrade/common/actors/checkluks/tests/test_checkluks.py