sos/sos-bz1967118-saphana-traceback.patch
Pavel Moravec 0f27d057ca sos updates to RHEL 9.0.0 GA
- making 9.0 in par with 8.5
- adding a fix for SELinux bz1965002
- adding gating.yaml

Resolves: bz1965002 bz1967110 bz1967111 bz1967112
Resolves: bz1967113 bz1967114 bz1967115 bz1967116
Resolves: bz1967117 bz1967118 bz1967119 bz1967120

Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
2021-06-02 15:16:30 +02:00

31 lines
1.1 KiB
Diff

From c998ea8c1c950586f91fc9728ee66590740968a5 Mon Sep 17 00:00:00 2001
From: Pavel Moravec <pmoravec@redhat.com>
Date: Tue, 11 May 2021 15:59:40 +0200
Subject: [PATCH] [saphana] remove redundant unused argument of get_inst_info
get_inst_info does not use and isnt called with 'prefix' argument
Resolves: #2535
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
---
sos/report/plugins/saphana.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sos/report/plugins/saphana.py b/sos/report/plugins/saphana.py
index 82c497b4..00e84b59 100644
--- a/sos/report/plugins/saphana.py
+++ b/sos/report/plugins/saphana.py
@@ -51,7 +51,7 @@ class saphana(Plugin, RedHatPlugin):
inst = inst.strip()[-2:]
self.get_inst_info(sid, sidadm, inst)
- def get_inst_info(self, prefix, sid, sidadm, inst):
+ def get_inst_info(self, sid, sidadm, inst):
proc_cmd = 'su - %s -c "sapcontrol -nr %s -function GetProcessList"'
status_fname = "%s_%s_status" % (sid, inst)
self.add_cmd_output(
--
2.26.3