fix the spelling mistakes

Change-Id: I0028a77e272a64ee63d2970061514da0eeb988ee
This commit is contained in:
jiasirui 2019-09-10 17:03:49 +08:00
parent c856c36839
commit 61cb739a16

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 = {}
@ -431,6 +431,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()