correct watcher project for oslo_config
It should've been "watcher" instead of "python-watcher" as the config files are expected to be in /etc/watcher/. Though this is unlikely to cause problems as this patch corrected the default config dir. https://review.opendev.org/#/c/658348/ Nevertheless, we should be using the correct name. Change-Id: If6b58133eecf2fcc37e11d8c45eaa58f238ea2a8
This commit is contained in:
@@ -28,7 +28,7 @@ def parse_args(argv, default_config_files=None, default_config_dirs=None):
|
||||
cfg.find_config_dirs(project='watcher'))
|
||||
rpc.set_defaults(control_exchange='watcher')
|
||||
cfg.CONF(argv[1:],
|
||||
project='python-watcher',
|
||||
project='watcher',
|
||||
version=version.version_info.release_string(),
|
||||
default_config_dirs=default_config_dirs,
|
||||
default_config_files=default_config_files)
|
||||
|
||||
Reference in New Issue
Block a user