]> arthur.barton.de Git - netdata.git/commitdiff
Fix parsing configuration in SocketService
authorpaulfantom <paulfantom@gmail.com>
Mon, 19 Sep 2016 21:27:17 +0000 (23:27 +0200)
committerpaulfantom <paulfantom@gmail.com>
Mon, 19 Sep 2016 21:27:17 +0000 (23:27 +0200)
python.d/python_modules/base.py

index 3827c0706a4f226d50c7063aadc96a99dd840c9d..1508e0965e58b8ca184400ebbc584b157c0d7c99 100644 (file)
@@ -658,6 +658,7 @@ class SocketService(SimpleService):
             self.unix_socket = str(self.configuration['socket'])
         except (KeyError, TypeError):
             self.debug("No unix socket specified. Trying TCP/IP socket.")
+            self.unix_socket = None
             try:
                 self.host = str(self.configuration['host'])
             except (KeyError, TypeError):