aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2021-05-11 15:59:40 +0200
committerJake Hunsaker <jhunsake@redhat.com>2021-05-11 14:25:47 -0400
commitc998ea8c1c950586f91fc9728ee66590740968a5 (patch)
tree2f47d11809f43e3f3ba2efb1d5ba4856b9ce96c5
parent66eabc50887903e10a82968ba0ab8820605bf5b6 (diff)
downloadsos-c998ea8c1c950586f91fc9728ee66590740968a5.tar.gz
[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>
-rw-r--r--sos/report/plugins/saphana.py2
1 files changed, 1 insertions, 1 deletions
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(