diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-05-17 19:41:14 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-05-19 10:47:15 -0400 |
commit | f12ba9f9cf66f10064ca20a23a719d520c6f4aab (patch) | |
tree | a33b18c1c6fca97363039c4da16b1da0d73d92f4 | |
parent | e056a20d8e3019c35ad58a547e7394c20c566910 (diff) | |
download | sos-f12ba9f9cf66f10064ca20a23a719d520c6f4aab.tar.gz |
[plugins] Add missing plugin names
Several plugins did not set a `plugin_name` attribute, instead relying
on a fallback using the class name. Set the `plugin_name` appropriately
in these plugins.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/report/plugins/alternatives.py | 2 | ||||
-rw-r--r-- | sos/report/plugins/nvidia.py | 2 | ||||
-rw-r--r-- | sos/report/plugins/peripety.py | 2 | ||||
-rw-r--r-- | sos/report/plugins/stratis.py | 2 | ||||
-rw-r--r-- | sos/report/plugins/unpackaged.py | 1 |
5 files changed, 5 insertions, 4 deletions
diff --git a/sos/report/plugins/alternatives.py b/sos/report/plugins/alternatives.py index a903f97a..f12a3497 100644 --- a/sos/report/plugins/alternatives.py +++ b/sos/report/plugins/alternatives.py @@ -14,7 +14,7 @@ from sos.report.plugins import Plugin, RedHatPlugin class Alternatives(Plugin, RedHatPlugin): short_desc = 'System alternatives' - + plugin_name = 'alternatives' packages = ('chkconfig',) commands = ('alternatives',) diff --git a/sos/report/plugins/nvidia.py b/sos/report/plugins/nvidia.py index d7fffbcc..09aaf586 100644 --- a/sos/report/plugins/nvidia.py +++ b/sos/report/plugins/nvidia.py @@ -15,7 +15,7 @@ from sos.report.plugins import Plugin, IndependentPlugin class Nvidia(Plugin, IndependentPlugin): short_desc = 'Nvidia GPU information' - + plugin_name = 'nvidia' commands = ('nvidia-smi',) def setup(self): diff --git a/sos/report/plugins/peripety.py b/sos/report/plugins/peripety.py index 3076035c..80d56e81 100644 --- a/sos/report/plugins/peripety.py +++ b/sos/report/plugins/peripety.py @@ -16,7 +16,7 @@ import glob class Peripety(Plugin, RedHatPlugin): short_desc = 'Peripety Storage Event Monitor' - + plugin_name = 'peripety' packages = ('peripety',) services = ('peripetyd',) diff --git a/sos/report/plugins/stratis.py b/sos/report/plugins/stratis.py index a41c9476..3e565f95 100644 --- a/sos/report/plugins/stratis.py +++ b/sos/report/plugins/stratis.py @@ -14,7 +14,7 @@ from sos.report.plugins import Plugin, RedHatPlugin class Stratis(Plugin, RedHatPlugin): short_desc = 'Stratis Storage' - + plugin_name = 'stratis' packages = ('stratis-cli', 'stratisd') services = ('stratisd',) profiles = ('storage',) diff --git a/sos/report/plugins/unpackaged.py b/sos/report/plugins/unpackaged.py index f626ce21..3ebc5b2f 100644 --- a/sos/report/plugins/unpackaged.py +++ b/sos/report/plugins/unpackaged.py @@ -16,6 +16,7 @@ class Unpackaged(Plugin, RedHatPlugin): short_desc = ('Collects a list of files that are not handled by the ' 'package manager') + plugin_name = 'unpackaged' def setup(self): |