aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2019-09-24 16:33:10 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-09-24 16:34:36 +0100
commitc8517e83b91f2c6f615ddca5a9a62c0a6eade9ee (patch)
treed43d812b757399409f1ca7643299489d9570e39c
parent8949ddfe5eb6a0368b80f3cc8201541a1702384e (diff)
downloadsos-c8517e83b91f2c6f615ddca5a9a62c0a6eade9ee.tar.gz
[targetcli] use add_service_status()
Related: #1667 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 7a863e8d..778030f9 100644
--- a/sos/plugins/targetcli.py
+++ b/sos/plugins/targetcli.py
@@ -22,8 +22,8 @@ class TargetCli(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output([
"targetcli ls",
"targetcli status",
- "systemctl status target.service"
])
+ self.add_service_status("target")
self.add_journal(units="targetcli")
self.add_copy_spec("/sys/kernel/config/target")
self.add_copy_spec("/etc/target")