예제 #1
0
파일: server.py 프로젝트: pombredanne/zato
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     return config_from_string(self._read_config_string())
예제 #2
0
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     return config_from_string(self._read_config_string())
예제 #3
0
파일: server.py 프로젝트: brtsz/zato
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     data = open(self.config_path).read()
     return config_from_string(data)