Module: check_mk
Branch: master
Commit: 01f5f70b9a12f8fc259106064ed3378393704068
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=01f5f70b9a12f8…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Mar 14 16:37:05 2018 +0100
agent_jolokia: fixed pylint errors
Change-Id: I3f180ce72576f2d914bf75c638a264b82e903ff3
---
agents/special/agent_jolokia | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/special/agent_jolokia b/agents/special/agent_jolokia
index 4f6ca9f..4f4acd8 100755
--- a/agents/special/agent_jolokia
+++ b/agents/special/agent_jolokia
@@ -150,7 +150,7 @@ def fetch_var(protocol, server, port, path, suburi, cert_path,
itemspec):
json_data = conn.read()
if opt_verbose:
- sys.stderr.write("Result: %s\n\n" % data)
+ sys.stderr.write("Result: %s\n\n" % json_data)
except Exception, e:
if opt_debug:
raise