Skip to content

Commit

Permalink
Rename inhibitwhenluks actor to checkluks
Browse files Browse the repository at this point in the history
The actor nowadays does more then just inhibiting the upgrade when
LUKS is detected. Let's rename it to respect current behaviour.
  • Loading branch information
pirat89 committed Nov 4, 2024
1 parent ad241f7 commit 8e5fe75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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)
Expand Down

0 comments on commit 8e5fe75

Please sign in to comment.