Esempio n. 1
0
 def _write_state(self, logger=logging.getLogger(__name__)):
     '''
     Write state (ConfigParser) to Consul
     '''
     logger.log(logging.INFO, 'Writing state to config')
     write_state_config(self.config, self.settings, logger=logger)
Esempio n. 2
0
 def _write_state(self, logger=logging.getLogger(__name__)):
     """
     Write state (ConfigParser) to Consul
     """
     logger.log(logging.INFO, "Writing state to config")
     write_state_config(self.config, self.settings, logger=logger)