]> arthur.barton.de Git - netdata.git/blobdiff - python.d/varnish.chart.py
varnish plugin: change .read() to .communicate()
[netdata.git] / python.d / varnish.chart.py
index b5285b2a6f45f82acd847dde49878aab57f5f9c4..a6fa8b76263d3c4a6655098d7d1f3ad5c90000f7 100644 (file)
@@ -235,7 +235,7 @@ class Service(SimpleService):
         except OSError:
             return None
 
-        raw_data = reply.stdout.read()
+        raw_data = reply.communicate()[0]
 
         if not raw_data:
             return None