json_rpc: list_opts() should return tuple

list_opts() should return a tuple otherwise
oslo-config-(genera|valida)tors are unable to parse its output.

Story: 2009126
Task: 43039

Change-Id: Ib4b9c270709f5994bc2c031c339822d7d6b9356d
This commit is contained in:
David Vallee Delisle 2021-08-11 00:29:35 -04:00
parent b750b74c20
commit f6ddd09d50

View File

@ -64,7 +64,7 @@ register_opts(CONF)
def list_opts():
return opts + keystone.add_auth_opts([])
return [('json_rpc', opts + keystone.add_auth_opts([]))]
def auth_strategy():