Commit 594aff58 authored by Takashi Kajinami's avatar Takashi Kajinami
Browse files

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
(cherry picked from commit ce5aa7dc)
parent 174093de
......@@ -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)
)]
......
---
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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment