Blame SOURCES/sos-bz1959413-saphana-traceback.patch

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