]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr: mention how to clear config setting 22157/head
authorJohn Spray <john.spray@redhat.com>
Tue, 22 May 2018 17:55:00 +0000 (18:55 +0100)
committerGitHub <noreply@github.com>
Tue, 22 May 2018 17:55:00 +0000 (18:55 +0100)
Signed-off-by: John Spray <john.spray@redhat.com>
doc/mgr/plugins.rst

index 2dc3b56c023abe29a6e143e975363b33ced777bb..d2053e090d254646724fe2ba2b9c7c6b2dfedbbe 100644 (file)
@@ -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