mirror of https://github.com/ceph/go-ceph
754d744ac8
This improves the code in two ways: first, it makes the function name and the return type match. Second, it avoids issues found by go vet converting from uintptr to unsafe.Pointer without any obvious pointer math. (See: https://pkg.go.dev/unsafe) Technically, this is an API breaking change but this function is only public to exchange the internal ceph structure between the rados and rbd modules. This had the smallest delta and doesn't feel any more hacky than what already existed in the code. If someone was using this function externally then too bad. Signed-off-by: John Mulligan <jmulligan@redhat.com> |
||
---|---|---|
.. | ||
conn.go | ||
doc.go | ||
ioctx.go | ||
object_iter.go | ||
omap.go | ||
rados.go | ||
rados_test.go |