From c8517e83b91f2c6f615ddca5a9a62c0a6eade9ee Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Tue, 24 Sep 2019 16:33:10 +0100 Subject: [targetcli] use add_service_status() Related: #1667 Signed-off-by: Bryn M. Reeves --- sos/plugins/targetcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit