mirror of https://github.com/ceph/go-ceph
rbd: naming conventions: fixes in RemoveImage function
Fix up variable names that don't meet Go standards. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
ae97cd3e7d
commit
8ea2109309
|
@ -1225,9 +1225,9 @@ func RemoveImage(ioctx *rados.IOContext, name string) error {
|
||||||
return ErrNoName
|
return ErrNoName
|
||||||
}
|
}
|
||||||
|
|
||||||
c_name := C.CString(name)
|
cName := C.CString(name)
|
||||||
defer C.free(unsafe.Pointer(c_name))
|
defer C.free(unsafe.Pointer(cName))
|
||||||
return getError(C.rbd_remove(cephIoctx(ioctx), c_name))
|
return getError(C.rbd_remove(cephIoctx(ioctx), cName))
|
||||||
}
|
}
|
||||||
|
|
||||||
// CloneImage creates a clone of the image from the named snapshot in the
|
// CloneImage creates a clone of the image from the named snapshot in the
|
||||||
|
|
Loading…
Reference in New Issue