Merge "fix the spelling mistakes"

This commit is contained in:
Zuul 2019-12-19 12:56:31 +00:00 committed by Gerrit Code Review
commit 741f0bb018

View File

@ -91,7 +91,7 @@ class Daemon(object):
class MonitorNeutronAgentsDaemon(Daemon): class MonitorNeutronAgentsDaemon(Daemon):
def __init__(self): def __init__(self):
super(MonitorNeutronAgentsDaemon, self).__init__() super(MonitorNeutronAgentsDaemon, self).__init__()
logging.setup('Neuron-HA-Monitor') logging.setup('Neutron-HA-Monitor')
LOG.info('Monitor Neutron Agent Loop Init') LOG.info('Monitor Neutron Agent Loop Init')
self.hostname = None self.hostname = None
self.env = {} self.env = {}
@ -434,6 +434,6 @@ if __name__ == '__main__':
cfg.CONF.register_cli_opts(opts) cfg.CONF.register_cli_opts(opts)
cfg.CONF(project='monitor_neutron_agents', default_config_files=[]) cfg.CONF(project='monitor_neutron_agents', default_config_files=[])
logging.setup('Neuron-HA-Monitor') logging.setup('Neutron-HA-Monitor')
monitor_daemon = MonitorNeutronAgentsDaemon() monitor_daemon = MonitorNeutronAgentsDaemon()
monitor_daemon.start() monitor_daemon.start()