mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-28 17:46:41 +00:00
getCloneInfo() does not need to return a full CloneStatus struct that only has one member. Instead, it can just return the value of the single member, so the JSON type/struct does not need to be exposed. This makes the API for getCloneInfo() a little simpler, so it can be replaced by a go-ceph implementation later on. As the function does not return any of the unused attributes anymore, it is renamed to getCloneStatu() as well. Signed-off-by: Niels de Vos <ndevos@redhat.com>