From 0ab068d0dd5822c2ce838fd56a3c7f1ec74ddace Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 22 May 2018 18:55:00 +0100 Subject: [PATCH] doc/mgr: mention how to clear config setting Signed-off-by: John Spray --- doc/mgr/plugins.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/mgr/plugins.rst b/doc/mgr/plugins.rst index 2dc3b56c023..d2053e090d2 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