)]}'
{"watcher/common/config.py":[{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"124fe8a6152b8f4898af44a64122dc7f9bbdd9e5","unresolved":false,"context_lines":[{"line_number":28,"context_line":"                           cfg.find_config_dirs(project\u003d\u0027watcher\u0027))"},{"line_number":29,"context_line":"    rpc.set_defaults(control_exchange\u003d\u0027watcher\u0027)"},{"line_number":30,"context_line":"    cfg.CONF(argv[1:],"},{"line_number":31,"context_line":"             project\u003d\u0027watcher\u0027,"},{"line_number":32,"context_line":"             version\u003dversion.version_info.release_string(),"},{"line_number":33,"context_line":"             default_config_dirs\u003ddefault_config_dirs,"},{"line_number":34,"context_line":"             default_config_files\u003ddefault_config_files)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5faad753_49cf8a55","line":31,"range":{"start_line":31,"start_character":13,"end_line":31,"end_character":20},"updated":"2019-09-16 02:12:14.000000000","message":"Is this related with [1] or [2]?\n[1] https://github.com/openstack/watcher/blob/master/setup.cfg#L2\n[2] https://github.com/openstack/watcher/blob/master/watcher/common/service.py#L301","commit_id":"86af6ab8a20913fff972497b07e8ae592113b273"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"f3580315969217e2505d3aa412e4b13c0ece2000","unresolved":false,"context_lines":[{"line_number":28,"context_line":"                           cfg.find_config_dirs(project\u003d\u0027watcher\u0027))"},{"line_number":29,"context_line":"    rpc.set_defaults(control_exchange\u003d\u0027watcher\u0027)"},{"line_number":30,"context_line":"    cfg.CONF(argv[1:],"},{"line_number":31,"context_line":"             project\u003d\u0027watcher\u0027,"},{"line_number":32,"context_line":"             version\u003dversion.version_info.release_string(),"},{"line_number":33,"context_line":"             default_config_dirs\u003ddefault_config_dirs,"},{"line_number":34,"context_line":"             default_config_files\u003ddefault_config_files)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_4439633f","line":31,"range":{"start_line":31,"start_character":13,"end_line":31,"end_character":20},"in_reply_to":"3fa7e38b_8d7549fd","updated":"2019-09-17 03:01:59.000000000","message":"If this. We should correct it. Thanks.","commit_id":"86af6ab8a20913fff972497b07e8ae592113b273"},{"author":{"_account_id":1916,"name":"Guang Yee","email":"gyee@suse.com","username":"guang-yee"},"change_message_id":"c6f5d2409b89bbac71952a2636178d32a20c83cf","unresolved":false,"context_lines":[{"line_number":28,"context_line":"                           cfg.find_config_dirs(project\u003d\u0027watcher\u0027))"},{"line_number":29,"context_line":"    rpc.set_defaults(control_exchange\u003d\u0027watcher\u0027)"},{"line_number":30,"context_line":"    cfg.CONF(argv[1:],"},{"line_number":31,"context_line":"             project\u003d\u0027watcher\u0027,"},{"line_number":32,"context_line":"             version\u003dversion.version_info.release_string(),"},{"line_number":33,"context_line":"             default_config_dirs\u003ddefault_config_dirs,"},{"line_number":34,"context_line":"             default_config_files\u003ddefault_config_files)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_8d7549fd","line":31,"range":{"start_line":31,"start_character":13,"end_line":31,"end_character":20},"in_reply_to":"5faad753_49cf8a55","updated":"2019-09-16 16:37:48.000000000","message":"Actually, neither. In this case, it is used by oslo_config to locate project-specific configuration files. See\n\nhttps://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L2100\nhttps://docs.openstack.org/oslo.config/latest/configuration/options.html#default\n\nIn this case, since we are passing in both default_config_files and default_config_dirs, we should be fine. But as I\u0027ve indicated in the commit message, we should correct the project as a formality.","commit_id":"86af6ab8a20913fff972497b07e8ae592113b273"}]}
