mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
pybind: trivial fix of missing argument
Signed-off-by: Henry C Chang <henry.cy.chang@gmail.com>
This commit is contained in:
parent
d940d68d63
commit
a5606ca435
@ -450,7 +450,7 @@ written." % (self.name, ret, length))
|
||||
ret = self.librados.rados_read(self.io, c_char_p(key), ret_buf,
|
||||
c_size_t(length), c_uint64(offset))
|
||||
if ret < 0:
|
||||
raise make_ex("Ioctx.read(%s): failed to read %s" % (self.name, key))
|
||||
raise make_ex(ret, "Ioctx.read(%s): failed to read %s" % (self.name, key))
|
||||
return ctypes.string_at(ret_buf, ret)
|
||||
|
||||
def get_stats(self):
|
||||
|
Loading…
Reference in New Issue
Block a user