]> arthur.barton.de Git - netdata.git/commitdiff
varnish plugin: decode bytes to str for python3
authorIlya <ilyamaschenko@gmail.com>
Wed, 25 Jan 2017 00:12:40 +0000 (09:12 +0900)
committerIlya <ilyamaschenko@gmail.com>
Wed, 25 Jan 2017 00:12:40 +0000 (09:12 +0900)
python.d/varnish.chart.py

index 2b1512f4e58b516c16ac7e6fad836ad95572236d..4b4daddd24d32d77d4a184b5085fe7f854646672 100644 (file)
@@ -145,7 +145,7 @@ class Service(SimpleService):
         if not raw_data:
             return None
 
-        return raw_data
+        return raw_data.decode()
 
     def _get_data(self):
         """