Fix typo in rpc controller
Add missing space to the help of `allowed_rpc_exception_modules` config opt and fix typo in controller docstring. Change-Id: I868e4cc472cf5d401ea64540e8d8613162ab6cfa
This commit is contained in:
parent
cafbe9e69d
commit
c17684cb6f
@ -46,7 +46,7 @@ rpc_opts = [
|
|||||||
'exceptions',
|
'exceptions',
|
||||||
],
|
],
|
||||||
help='Modules of exceptions that are permitted to be recreated'
|
help='Modules of exceptions that are permitted to be recreated'
|
||||||
'upon receiving exception data from an rpc call.'),
|
' upon receiving exception data from an rpc call.'),
|
||||||
]
|
]
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
@ -106,7 +106,7 @@ class Controller(object):
|
|||||||
Exports methods through the RPC Api.
|
Exports methods through the RPC Api.
|
||||||
|
|
||||||
:params resource: Resource's instance to register.
|
:params resource: Resource's instance to register.
|
||||||
:params filtered: List of methods that *can* me registered. Read
|
:params filtered: List of methods that *can* be registered. Read
|
||||||
as "Method must be in this list".
|
as "Method must be in this list".
|
||||||
:params excluded: List of methods to exclude.
|
:params excluded: List of methods to exclude.
|
||||||
:params refiner: Callable to use as filter for methods.
|
:params refiner: Callable to use as filter for methods.
|
||||||
|
Loading…
Reference in New Issue
Block a user