Merge pull request #22157 from ceph/wip-doc-clear-config

doc/mgr: mention how to clear config setting

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
This commit is contained in:
John Spray 2018-05-29 15:00:21 +01:00 committed by GitHub
commit 89f173c76a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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