doc/mgr: fix rst syntax in plugin guide

Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2016-11-04 10:07:12 +00:00
parent 7d4c4c83d1
commit 1dcdf35455

View File

@ -11,11 +11,11 @@ named ``Module`` that inherits from ``MgrModule``.
The most important methods to override are:
* a ``serve`` member function for server-type modules. This
function should block forever.
function should block forever.
* a ``notify`` member function if your module needs to
take action when new cluster data is available.
take action when new cluster data is available.
* a ``handle_command`` member function if your module
exposes CLI commands.
exposes CLI commands.
Installing a plugin
-------------------
@ -72,6 +72,7 @@ storing large amounts of data.
Config values are stored using the mon's config-key commands.
Hints for using these:
* Reads are fast: ceph-mgr keeps a local in-memory copy
* Don't set things by hand with "ceph config-key", the mgr doesn't update
at runtime (only set things from within modules).