Use get_list to parse unix_socket_signal_path
This commit is contained in:
parent
55daf4aee7
commit
a916594a49
2 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ class Application(object):
|
|||
raise TunedException("Unix socket interface is already initialized.")
|
||||
|
||||
self._unix_socket_exporter = exports.unix_socket.UnixSocketExporter(self.config.get(consts.CFG_UNIX_SOCKET_PATH),
|
||||
self.config.get(consts.CFG_UNIX_SOCKET_SIGNAL_PATHS),
|
||||
self.config.get_list(consts.CFG_UNIX_SOCKET_SIGNAL_PATHS),
|
||||
self.config.get(consts.CFG_UNIX_SOCKET_OWNERSHIP),
|
||||
self.config.get_int(consts.CFG_UNIX_SOCKET_PERMISIONS),
|
||||
self.config.get_int(consts.CFG_UNIX_SOCKET_CONNECTIONS_BACKLOG))
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class UnixSocketExporter(interfaces.ExporterInterface):
|
|||
|
||||
self._socket_path = socket_path
|
||||
self._socket_object = None
|
||||
self._socket_signal_paths = re.split(r",;", signal_paths) if signal_paths else []
|
||||
self._socket_signal_paths = signal_paths
|
||||
self._socket_signal_objects = []
|
||||
self._ownership = [-1, -1]
|
||||
if ownership:
|
||||
|
|
|
|||
Loading…
Reference in a new issue