Skip to content

Commit

Permalink
Rename file to leapp-simulate-inhibitor
Browse files Browse the repository at this point in the history
  • Loading branch information
prilr committed Jun 17, 2024
1 parent 8a8fc19 commit b6adefc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions repos/system_upgrade/common/actors/dummyinhibitor/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ class DummyInhibitor(Actor):
tags = (IPUWorkflowTag, ChecksPhaseTag)

def process(self):
if os.path.exists("/etc/noleapp"):
if os.path.exists("/etc/leapp-simulate-inhibitor"):
reporting.create_report([
reporting.Title('Upgrade blocked by /etc/noleapp'),
reporting.Title('Upgrade blocked by /etc/leapp-simulate-inhibitor'),
reporting.Summary(
'/etc/noleapp file is present, upgrade blocked by dummy_inhibitor actor.'
'/etc/leapp-simulate-inhibitor file is present, upgrade blocked by dummy_inhibitor actor.'
),
reporting.Severity(reporting.Severity.HIGH),
reporting.Tags([reporting.Tags.SANITY]),
Expand Down

0 comments on commit b6adefc

Please sign in to comment.