go-ceph/cephfs/admin/clone_nautilus.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
}