Fix parsing configuration in SocketService
paulfantom committed
Sep 19, 2016 at 23:27 UTC
520c46229de6099754b23d640f63f4b9606821b4
1 file changed
+1
python.d/python_modules/base.py
+1
@@ -658,6 +658,7 @@ class SocketService(SimpleService):
658
self.unix_socket = str(self.configuration['socket'])
659
except (KeyError, TypeError):
660
self.debug("No unix socket specified. Trying TCP/IP socket.")
661
+ self.unix_socket = None
662
try:
663
self.host = str(self.configuration['host'])
664
except (KeyError, TypeError):