aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2019-09-24 16:32:11 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-09-24 16:34:36 +0100
commit8949ddfe5eb6a0368b80f3cc8201541a1702384e (patch)
tree0470c21a6a49b26641092addce88b8c5b207e336
parentdd11ed6880895d15734195c476ba892967f8daca (diff)
downloadsos-8949ddfe5eb6a0368b80f3cc8201541a1702384e.tar.gz
[snappy] use add_service_status()
Related: #1667 Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/snappy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/snappy.py b/sos/plugins/snappy.py
index 1625429f..c0882a76 100644
--- a/sos/plugins/snappy.py
+++ b/sos/plugins/snappy.py
@@ -20,11 +20,11 @@ class Snappy(Plugin, UbuntuPlugin, DebianPlugin, RedHatPlugin):
def setup(self):
self.add_cmd_output([
- "systemctl status snapd.service",
"snap list --all",
"snap --version",
"snap changes"
])
+ self.add_service_status("snapd")
self.add_journal(units="snapd")
# vim: set et ts=4 sw=4 :