Fix config loading when running the watcher-api
This regression was caused when we upgrade the version of olso. Unfortunately this issue wasn't picked up with the unit tests as the cmds doesn't have unit tests yet. Error message: "watcher-api fail with NoSuchOptError: no such option:debug" This patchset implements unit tests for: - 'watcher-api' command - 'watcher-db-manage' command (and sub-command) - 'watcher-applier' command Change-Id: I2bea8aee28dec913ebc45f2824bf474f86652642
This commit is contained in:
committed by
Vincent Françoise
parent
4d2d73aa98
commit
6a55914b05
@@ -128,4 +128,4 @@ def prepare_service(argv=[]):
|
||||
config.parse_args(argv)
|
||||
cfg.set_defaults(_options.log_opts,
|
||||
default_log_levels=_DEFAULT_LOG_LEVELS)
|
||||
log.setup(cfg.CONF, 'watcher')
|
||||
log.setup(cfg.CONF, 'python-watcher')
|
||||
|
||||
Reference in New Issue
Block a user