]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/mgr_module.py: add 'delete a key' doc comment for set_store
authorDan Mick <dan.mick@redhat.com>
Wed, 20 Jun 2018 04:39:57 +0000 (21:39 -0700)
committerDan Mick <dan.mick@redhat.com>
Thu, 21 Jun 2018 21:13:54 +0000 (14:13 -0700)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/pybind/mgr/mgr_module.py

index 1db2e71a425e39db33fc903fd8c6bfbf6f4f0ff1..1064652cfc5dedbaa36bb2af899b795368525821 100644 (file)
@@ -646,7 +646,11 @@ class MgrModule(ceph_module.BaseMgrModule):
 
     def set_store(self, key, val):
         """
-        Set a value in this module's persistent key value store
+        Set a value in this module's persistent key value store.
+        If val is None, remove key from store
+
+        :param str key:
+        :param str val:
         """
         self._ceph_set_store(key, val)