aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2016-06-01 19:31:45 +0100
committerBryn M. Reeves <bmr@redhat.com>2016-06-02 16:11:40 +0100
commitded9f5148521df27a7aae48fcd4b4b778765c983 (patch)
tree3021946a977b0ae1e0354dc9f6ee8c0f6d5c5dc2
parentbecbaae92d42db7b80da79403cda142acd4bf451 (diff)
downloadsos-ded9f5148521df27a7aae48fcd4b4b778765c983.tar.gz
[targetcli] convert to add_journal interface
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/targetcli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/targetcli.py b/sos/plugins/targetcli.py
index 03038b8e..1722f884 100644
--- a/sos/plugins/targetcli.py
+++ b/sos/plugins/targetcli.py
@@ -28,9 +28,9 @@ class TargetCli(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output([
"targetcli ls",
"targetcli status",
- "journalctl -u target",
"systemctl status target.service"
])
+ self.add_journal(units="targetcli")
self.add_copy_spec("/etc/target")
# vim: set et ts=4 sw=4 :