oslo-config-generator: Fix ValueError
This fixes how the opts data is formatted to fix auto-generation of config file using oslo-config-generator with oslo.limit entry point. Closes-Bug: #1962406 Change-Id: I176a7b2b8e2edb50659783a2139c3cc13e8f2f53
This commit is contained in:
parent
bf9deb10c3
commit
ce5aa7dcca
@ -44,9 +44,9 @@ def list_opts():
|
||||
return [(_option_group,
|
||||
copy.deepcopy(_options) +
|
||||
loading.get_session_conf_options() +
|
||||
loading.get_auth_plugin_conf_options('password'),
|
||||
loading.get_auth_plugin_conf_options('v2password'),
|
||||
loading.get_auth_plugin_conf_options('v3password'),
|
||||
loading.get_auth_plugin_conf_options('password') +
|
||||
loading.get_auth_plugin_conf_options('v2password') +
|
||||
loading.get_auth_plugin_conf_options('v3password') +
|
||||
loading.get_adapter_conf_options(include_deprecated=False)
|
||||
)]
|
||||
|
||||
|
7
releasenotes/notes/bug-1962406-e239d60400c726c8.yaml
Normal file
7
releasenotes/notes/bug-1962406-e239d60400c726c8.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
`bug 1962406` <https://bugs.launchpad.net/oslo.limit/+bug/1962406>`_:
|
||||
Fixed the wrong format of options data, which was causing failure with
|
||||
``oslo-config-generator`` command if the ``oslo.limit`` entry point is
|
||||
included.
|
Loading…
Reference in New Issue
Block a user