Пример #1
0
 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
 def _read_config(self):
     """ Read and parse the HAProxy configuration.
     """
     data = open(self.config_path).read()
     return config_from_string(data)