@cryptotaxi247 / netdata-1 / commits / 1c5f6d4fa

redis plugin: bugfix

Ilya committed Mar 27, 2017 at 23:33 UTC 1c5f6d4fa90e13ca0858c40ddc5a6ff88b69b6dd
1 file changed +1 -1
python.d/redis.chart.py
+1 -1
@@ -155,7 +155,7 @@ class Service(SocketService):
155 :return: boolean
156 """
157 length = len(data)
158 - supposed = data.split('\n')[0][1:]
158 + supposed = data.split('\n')[0][1:-1]
159 offset = len(supposed) + 4 # 1 dollar sing, 1 new line character + 1 ending sequence '\r\n'
160 if not supposed.isdigit():
161 return True