From: John Wilkins Date: Fri, 14 Mar 2014 22:52:28 +0000 (-0700) Subject: rados.py: Fixed docstring syntax warnings. X-Git-Tag: v0.79~143 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ef1d7c9105c564fb0bec436e534fc6cd95b41814;p=ceph.git rados.py: Fixed docstring syntax warnings. Signed-off-by: John Wilkins --- diff --git a/src/pybind/rados.py b/src/pybind/rados.py index e948ff7cab46..b4a3a46ef2d4 100644 --- a/src/pybind/rados.py +++ b/src/pybind/rados.py @@ -429,13 +429,13 @@ Rados object in state %s." % (self.state)) :returns: dict - contains the following keys: - *``kb`` (int) - total space + - ``kb`` (int) - total space - *``kb_used`` (int) - space used + - ``kb_used`` (int) - space used - *``kb_avail`` (int) - free space available + - ``kb_avail`` (int) - free space available - *``num_objects`` (int) - number of objects + - ``num_objects`` (int) - number of objects """ stats = rados_cluster_stat_t() @@ -1268,30 +1268,30 @@ written." % (self.name, ret, length)) :returns: dict - contains the following keys: - *``num_bytes`` (int) - size of pool in bytes + - ``num_bytes`` (int) - size of pool in bytes - *``num_kb`` (int) - size of pool in kbytes + - ``num_kb`` (int) - size of pool in kbytes - *``num_objects`` (int) - number of objects in the pool + - ``num_objects`` (int) - number of objects in the pool - *``num_object_clones`` (int) - number of object clones + - ``num_object_clones`` (int) - number of object clones - *``num_object_copies`` (int) - number of object copies + - ``num_object_copies`` (int) - number of object copies - *``num_objects_missing_on_primary`` (int) - number of objets + - ``num_objects_missing_on_primary`` (int) - number of objets missing on primary - *``num_objects_unfound`` (int) - number of unfound objects + - ``num_objects_unfound`` (int) - number of unfound objects - *``num_objects_degraded`` (int) - number of degraded objects + - ``num_objects_degraded`` (int) - number of degraded objects - *``num_rd`` (int) - bytes read + - ``num_rd`` (int) - bytes read - *``num_rd_kb`` (int) - kbytes read + - ``num_rd_kb`` (int) - kbytes read - *``num_wr`` (int) - bytes written + - ``num_wr`` (int) - bytes written - *``num_wr_kb`` (int) - kbytes written + - ``num_wr_kb`` (int) - kbytes written """ self.require_ioctx_open() stats = rados_pool_stat_t()