From 7457d19bf41fc6c9be781563857b8d85bf989f7b Mon Sep 17 00:00:00 2001 From: Vojtech Sokol Date: Tue, 16 Jul 2024 10:57:00 +0200 Subject: [PATCH] Make check_ipa_server actor future-proof --- .../actors/checkipaserver/libraries/checkipaserver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repos/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py b/repos/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py index 5ec36d06d2..ae689a0eb7 100644 --- a/repos/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py +++ b/repos/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py @@ -27,7 +27,7 @@ def ipa_inhibit_upgrade(ipainfo): hint="Follow the IdM RHEL migration guide lines." ), reporting.ExternalLink( - url=MIGRATION_GUIDES[get_source_major_version()], + url=MIGRATION_GUIDES.get(get_source_major_version(), "TBD"), title="IdM migration guide", ), reporting.Severity(reporting.Severity.HIGH), @@ -62,8 +62,8 @@ def ipa_warn_pkg_installed(ipainfo): commands=[["yum", "remove", "-y", "ipa-server"]], ), reporting.ExternalLink( - url=MIGRATION_GUIDES[get_source_major_version()], - title="Migrating IdM from RHEL 7 to 8", + url=MIGRATION_GUIDES.get(get_source_major_version(), "TBD"), + title="IdM migration guide", ), reporting.Severity(reporting.Severity.MEDIUM), reporting.Groups([reporting.Groups.SERVICES]),