From: John Spray Date: Tue, 22 May 2018 17:55:00 +0000 (+0100) Subject: doc/mgr: mention how to clear config setting X-Git-Tag: v14.0.1~1250^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0ab068d0dd5822c2ce838fd56a3c7f1ec74ddace;p=ceph.git doc/mgr: mention how to clear config setting Signed-off-by: John Spray --- diff --git a/doc/mgr/plugins.rst b/doc/mgr/plugins.rst index 2dc3b56c023a..d2053e090d25 100644 --- a/doc/mgr/plugins.rst +++ b/doc/mgr/plugins.rst @@ -113,6 +113,8 @@ Hints for using config options: value will become visible to `get_config` immediately, although the mon->mgr update is asynchronous, so `config set` will return a fraction of a second before the new value is visible on the mgr. +* To delete a config value (i.e. revert to default), just pass ``None`` to + set_config. .. py:currentmodule:: mgr_module .. automethod:: MgrModule.get_config