Fix _get_config_generator_config_definition() typo

Argument is config_file, but conf is used in method, just
change definition.  Necessary if using python3.

Change-Id: I6d92b3718810589c35974571278574d0906fce36
This commit is contained in:
Brian Haley 2018-10-31 23:14:04 -04:00 committed by Nguyen Hai
parent 17e823e33a
commit f358d7922f

View File

@ -89,7 +89,7 @@ _config_generator_config_files = [
'bgp_dragent.ini',
]
def _get_config_generator_config_definition(config_file):
def _get_config_generator_config_definition(conf):
config_file_path = '../../etc/oslo-config-generator/%s' % conf
# oslo_config.sphinxconfiggen appends '.conf.sample' to the filename,
# strip file extentension (.conf or .ini).