Change list_opts to dictionary style

Change to dictionary style list_opts is the new way
to list options in oslo.config.

Change-Id: Ic809200d4aeb19e366cf256e9043f7e4d8763baf
Closes-Bug: #1657686
This commit is contained in:
Tovin Seven 2017-01-20 11:45:16 +07:00
parent 93aec6a99f
commit 4c514d4087
1 changed files with 1 additions and 1 deletions

View File

@ -218,4 +218,4 @@ def disable_web_trace(conf=None):
def list_opts():
return [(_profiler_opt_group.name, _PROFILER_OPTS)]
return {_profiler_opt_group: _PROFILER_OPTS}