mirror of https://github.com/ceph/go-ceph
fmt: fix formatting
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
This commit is contained in:
parent
a1c3394414
commit
5074481957
|
@ -101,7 +101,7 @@ func (ioctx *IOContext) Write(oid string, data []byte, offset uint64) error {
|
|||
|
||||
dataPointer := unsafe.Pointer(nil)
|
||||
if len(data) > 0 {
|
||||
dataPointer = unsafe.Pointer(&data[0])
|
||||
dataPointer = unsafe.Pointer(&data[0])
|
||||
}
|
||||
|
||||
ret := C.rados_write(ioctx.ioctx, c_oid,
|
||||
|
|
Loading…
Reference in New Issue