Skip to content

Commit

Permalink
doc/mgr: fix rst syntax in plugin guide
Browse files Browse the repository at this point in the history
Signed-off-by: John Spray <[email protected]>
  • Loading branch information
John Spray committed Nov 4, 2016
1 parent 7d4c4c8 commit 1dcdf35
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/mgr/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------------
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit 1dcdf35

Please sign in to comment.