Merge "Generate auth plugin options based on the name"

This commit is contained in:
Jenkins 2016-07-11 13:35:12 +00:00 committed by Gerrit Code Review
commit 9667f426d0
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ def get_options_list():
for plugin_name in get_plugin_list():
plugin_options = base.get_plugin_options(plugin_name)
for o in plugin_options:
os_name = o.dest.lower().replace('_', '-')
os_name = o.name.lower().replace('_', '-')
os_env_name = 'OS_' + os_name.upper().replace('-', '_')
OPTIONS_LIST.setdefault(
os_name, {'env': os_env_name, 'help': ''},