go-ceph/cephfs/admin/clone_nautilus.go
Sven Anderson 87041ee7d8 gofmt: reformat everything with new gofmt of go 1.19
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-02-20 20:50:24 +00:00

12 lines
283 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
}