mirror of https://github.com/ceph/go-ceph
14 lines
330 B
Go
14 lines
330 B
Go
|
//go:build ceph_preview
|
||
|
// +build ceph_preview
|
||
|
|
||
|
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
|
||
|
}
|