rados: fix incorrect doc comment on SetOmap func

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-01-22 14:16:14 -05:00 committed by John Mulligan
parent 90cd306e99
commit 1585362d3a
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ func (ioctx *IOContext) RmXattr(oid string, name string) error {
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 {
c_oid := C.CString(oid)
defer C.free(unsafe.Pointer(c_oid))