Module: check_mk
Branch: master
Commit: c0efc15ec48fde160d16966407f7f1682bf638fc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c0efc15ec48fde…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 14 16:06:43 2018 +0100
fixed pylint findings in new check nfsiostat
Change-Id: I594a4ea3ab202bd7fb17dfe293ed67bdd55a9d06
---
checks/nfsiostat | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/checks/nfsiostat b/checks/nfsiostat
index 3c4dd1b..0b8def1 100644
--- a/checks/nfsiostat
+++ b/checks/nfsiostat
@@ -86,7 +86,6 @@ def check_nfsiostat(item, params, parsed):
def check_nfsiostat_params(count, value):
item = param_name[str(count)][0]
title = param_name[str(count)][1]
- factor = param_name[str(count)][2]
fmt = param_name[str(count)][3]
value = float(value)
@@ -110,7 +109,7 @@ def check_nfsiostat(item, params, parsed):
count = 0
for value in values:
if count != 5 and count != 12:
- yield(check_nfsiostat_params(count, value))
+ yield check_nfsiostat_params(count, value)
count = count + 1