Fix redis auth
Dimosthenis Kaponis committed
Jun 29, 2018 at 23:00 UTC
7c00033f587f75d5d2ea7be8a3e0d5678122c76a
1 file changed
+1
-1
python.d/redis.chart.py
+1
-1
@@ -152,7 +152,7 @@ class Service(SocketService):
152
resp = self._get_raw_data(request=self.auth_request)
153
if not resp:
154
return False
155
- if not resp.strip() != '+OK':
155
+ if resp.strip() != '+OK':
156
self.error("invalid password")
157
return False
158
return True