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

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