diff options
-rw-r--r-- | sos/plugins/targetcli.py | 2 |
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") |