diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-04-30 14:09:53 -0400 |
---|---|---|
committer | Bryan Quigley <bryan.quigley@canonical.com> | 2020-05-01 15:52:16 -0700 |
commit | 035dc917a485c04bb8793022255a8522623ffec2 (patch) | |
tree | 767e6ae950400ef17dd5915e520a03ed3c561066 | |
parent | 1368498e8d5c5e2d9cd93c335252efe8e08316a4 (diff) | |
download | sos-035dc917a485c04bb8793022255a8522623ffec2.tar.gz |
[s390] Convert enablement to using default architecture check
Removes the enablement override for the plugin and instead relies on the
default architecture checks by specifying the `s390` arch in the
`architectures` tuple.
Resolves: #2038
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
-rw-r--r-- | sos/report/plugins/s390.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sos/report/plugins/s390.py b/sos/report/plugins/s390.py index 4183a46c..be55aa98 100644 --- a/sos/report/plugins/s390.py +++ b/sos/report/plugins/s390.py @@ -17,13 +17,7 @@ class S390(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): plugin_name = 's390' profiles = ('system', 'hardware') - - # Check for s390 arch goes here - - def check_enabled(self): - return ("s390" in self.policy.get_arch()) - - # Gather s390 specific information + architectures = ('s390.*',) def setup(self): self.add_copy_spec([ |