Skip to content

Commit e05bbad

Browse files
RezneyMonstrofil
authored andcommitted
Update report creation code to be supported by v16
1 parent 6b6376a commit e05bbad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

repos/system_upgrade/el7toel8/actors/checkfirstpartitionoffset/libraries/check_first_partition_offset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ def check_first_partition_offset():
5454
reporting.Summary(summary.format('\n'.join(problematic_devices_fmt))),
5555
reporting.Remediation(hint=hint.format(SAFE_OFFSET_BYTES // 1024)),
5656
reporting.Severity(reporting.Severity.HIGH),
57-
reporting.Groups([reporting.Groups.BOOT]),
58-
reporting.Groups([reporting.Groups.INHIBITOR]),
57+
reporting.Tags([reporting.Tags.BOOT]),
58+
reporting.Flags([reporting.Flags.INHIBITOR]),
5959
])

repos/system_upgrade/el7toel8/actors/checklegacygrub/libraries/check_legacy_grub.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ def check_grub_disks_for_legacy_grub():
6363
reporting.Title("GRUB Legacy is used on the system"),
6464
reporting.Summary(details.format(block_devices_fmt=block_devices_fmt)),
6565
reporting.Severity(reporting.Severity.HIGH),
66-
reporting.Groups([reporting.Groups.BOOT]),
66+
reporting.Tags([reporting.Tags.BOOT]),
6767
reporting.Remediation(hint=hint),
68-
reporting.Groups([reporting.Groups.INHIBITOR]),
68+
reporting.Flags([reporting.Flags.INHIBITOR]),
6969
reporting.ExternalLink(url=MIGRATION_TO_GRUB2_GUIDE_URL,
7070
title='How to install GRUB2 after a RHEL6 to RHEL7 upgrade'),
7171
])

0 commit comments

Comments
 (0)