bugfix: fix function deprecated rados_read_op_omap_get_vals

Signed-off-by: zhangyue <zy675793960@yeah.net>
This commit is contained in:
zhangyue 2018-12-02 11:04:21 +08:00
parent e1762cd8b3
commit 7884e8a8af
1 changed files with 2 additions and 1 deletions

View File

@ -450,12 +450,13 @@ func (ioctx *IOContext) ListOmapValues(oid string, startAfter string, filterPref
var c_iter C.rados_omap_iter_t
var c_prval C.int
C.rados_read_op_omap_get_vals(
C.rados_read_op_omap_get_vals2(
op,
c_start_after,
c_filter_prefix,
c_max_return,
&c_iter,
nil,
&c_prval,
)