mirror of
https://github.com/ceph/go-ceph
synced 2025-01-03 04:12:06 +00:00
6c62acb906
As per the stabilization doc, this api is now stable for release 0.18. Signed-off-by: John Mulligan <jmulligan@redhat.com>
11 lines
282 B
Go
11 lines
282 B
Go
package admin
|
|
|
|
// GetFailure returns details about the CloneStatus when in CloneFailed state.
|
|
//
|
|
// Similar To:
|
|
// Reading the .failure object from the JSON returned by "ceph fs subvolume
|
|
// snapshot clone"
|
|
func (cs *CloneStatus) GetFailure() *CloneFailure {
|
|
return cs.failure
|
|
}
|