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

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