rados: fix incorrect doc comment on SetXattr

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-01-22 14:12:11 -05:00 committed by John Mulligan
parent f16013ebce
commit bcec1ab9c1
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ func (ioctx *IOContext) GetXattr(object string, name string, data []byte) (int,
return 0, getRadosError(int(ret))
}
// Sets an xattr for an object with key `name` with value as `data`
// SetXattr sets an xattr for an object with key `name` with value as `data`
func (ioctx *IOContext) SetXattr(object string, name string, data []byte) error {
c_object := C.CString(object)
c_name := C.CString(name)