Delete the duplicated default_config_files defiend

when use instance as fuction, python will invoke the __call__, and in
oslo.config, the default_config_files is defined as None [0], so it
is unnecessary to defined again in freezer, this patch to remove it.

[0]: https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L2450

Change-Id: I7d017c8f92568c5849fde2a65065970901122620
This commit is contained in:
caoyuan 2018-02-12 16:03:02 +08:00
parent fd8af9533d
commit d6a2728eeb
1 changed files with 0 additions and 2 deletions

View File

@ -527,11 +527,9 @@ _COMMON = [
def config(args=[]):
CONF.register_opts(_COMMON)
CONF.register_cli_opts(_COMMON)
default_conf = None
log.register_options(CONF)
CONF(args=args,
project='freezer',
default_config_files=default_conf,
version=FREEZER_VERSION)