aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThom Carlin <tcarlin@redhat.com>2024-04-16 14:01:09 -0400
committerArif Ali <arif-ali@users.noreply.github.com>2024-04-16 21:33:07 +0100
commit321b93b86620cbe18845d7dba06decaa8850ba41 (patch)
tree07563bc504593459ee8ae2aa0e7c036cca175ae7
parent517e8315479cf86af734dfcda01cbc5574cc32cf (diff)
downloadsos-321b93b86620cbe18845d7dba06decaa8850ba41.tar.gz
**[aap_receptor]** Change receptorctl status output to json
Signed-off-by: Thom Carlin <tcarlin@redhat.com>
-rw-r--r--sos/report/plugins/aap_receptor.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/report/plugins/aap_receptor.py b/sos/report/plugins/aap_receptor.py
index 731b3f87..90155b78 100644
--- a/sos/report/plugins/aap_receptor.py
+++ b/sos/report/plugins/aap_receptor.py
@@ -48,6 +48,8 @@ class AAPreceptorPlugin(Plugin, RedHatPlugin):
for s in glob.glob('/var/run/*receptor/*.sock'):
self.add_cmd_output(f"receptorctl --socket {s} status",
suggest_filename="receptorctl_status")
+ self.add_cmd_output(f"receptorctl --socket {s} status --json",
+ suggest_filename="receptorctl_status.json")
break
# vim: set et ts=4 sw=4 :