aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-04-06 13:03:53 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-04-15 11:33:04 -0400
commit242c4b7f3ba5c25d08b9805a1ff5a62208dcf775 (patch)
tree0d3864e3db70f53fedfbe7de99437455ec478915
parent3755bb250b1f82abdf48364e97d35bd8db37ad40 (diff)
downloadsos-242c4b7f3ba5c25d08b9805a1ff5a62208dcf775.tar.gz
[psacct] Do not override plugin_name in DebianPsacct
Removes a `plugin_name` override in the `DebianPsacct` plugin that was causing issues with plugin enablement/references by the overridden name. Related: #2431 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/psacct.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/sos/report/plugins/psacct.py b/sos/report/plugins/psacct.py
index 081b65e6..efb0d88a 100644
--- a/sos/report/plugins/psacct.py
+++ b/sos/report/plugins/psacct.py
@@ -18,12 +18,12 @@ class Psacct(Plugin):
option_list = [("all", "collect all process accounting files",
"slow", False)]
- packages = ["psacct"]
+ packages = ("psacct", )
class RedHatPsacct(Psacct, RedHatPlugin):
- packages = ["psacct"]
+ packages = ("psacct", )
def setup(self):
super(RedHatPsacct, self).setup()
@@ -34,8 +34,7 @@ class RedHatPsacct(Psacct, RedHatPlugin):
class DebianPsacct(Psacct, DebianPlugin, UbuntuPlugin):
- plugin_name = "acct"
- packages = ["acct"]
+ packages = ("acct", )
def setup(self):
super(DebianPsacct, self).setup()