mirror of https://github.com/ceph/go-ceph
rados: fix incorrect doc comment on SetXattr
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
f16013ebce
commit
bcec1ab9c1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue