mirror of https://github.com/ceph/go-ceph
rados: fix incorrect doc comment on SetOmap func
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
90cd306e99
commit
1585362d3a
|
@ -370,7 +370,7 @@ func (ioctx *IOContext) RmXattr(oid string, name string) error {
|
||||||
return getRadosError(int(ret))
|
return getRadosError(int(ret))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Append the map `pairs` to the omap `oid`
|
// SetOmap appends the map `pairs` to the omap `oid`
|
||||||
func (ioctx *IOContext) SetOmap(oid string, pairs map[string][]byte) error {
|
func (ioctx *IOContext) SetOmap(oid string, pairs map[string][]byte) error {
|
||||||
c_oid := C.CString(oid)
|
c_oid := C.CString(oid)
|
||||||
defer C.free(unsafe.Pointer(c_oid))
|
defer C.free(unsafe.Pointer(c_oid))
|
||||||
|
|
Loading…
Reference in New Issue