diff options
author | Rodolfo Olivieri <rolivier@redhat.com> | 2024-03-11 15:57:54 -0300 |
---|---|---|
committer | Arif Ali <arif-ali@users.noreply.github.com> | 2024-03-12 22:08:47 +0000 |
commit | 12e6f43965d25054debff936f61acacbe4bb8066 (patch) | |
tree | 5dccde220ad4383948c4bde0b971baa400a6e638 | |
parent | 388075ea0a606710cf48189e9c424c233001bfc2 (diff) | |
download | sos-12e6f43965d25054debff936f61acacbe4bb8066.tar.gz |
[convert2rhel] Update copy spec to include * report
convert2rhel now generates a post-conversion report as well as the
pre-conversion report. We want to be able to collect both reports during
sosreport execution. To make sure we are not missing them (or any other
future report we may introduce), the copy spec string was changed to use
a `*` instead of the names of the reports.
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
-rw-r--r-- | sos/report/plugins/convert2rhel.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/report/plugins/convert2rhel.py b/sos/report/plugins/convert2rhel.py index 2ea2c523..c53530e7 100644 --- a/sos/report/plugins/convert2rhel.py +++ b/sos/report/plugins/convert2rhel.py @@ -10,6 +10,7 @@ from sos.report.plugins import Plugin, RedHatPlugin class Convert2RHEL(Plugin, RedHatPlugin): + """This plugin collects data generated by Convert2RHEL.""" short_desc = 'Convert2RHEL' plugin_name = 'convert2rhel' @@ -23,7 +24,8 @@ class Convert2RHEL(Plugin, RedHatPlugin): "/var/log/convert2rhel/convert2rhel.log", "/var/log/convert2rhel/archive/convert2rhel-*.log", "/var/log/convert2rhel/rpm_va.log", - "/var/log/convert2rhel/convert2rhel-pre-conversion.*", + # Convert2RHEL generates a {pre,post}-conversion report. + "/var/log/convert2rhel/convert2rhel-*-conversion.*", ]) |