From c23e1a865931b393b60d958ccad4e394aef5fbdc Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Mon, 5 Oct 2020 16:05:32 -0400 Subject: [PATCH] cephfs admin: doc comment improvements for clone Signed-off-by: John Mulligan --- cephfs/admin/clone.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cephfs/admin/clone.go b/cephfs/admin/clone.go index 9f6c4f2..d314310 100644 --- a/cephfs/admin/clone.go +++ b/cephfs/admin/clone.go @@ -23,10 +23,14 @@ type CloneOptions struct { PoolLayout string } -// CloneSubVolumeSnapshot Clones the specified snapshot from the subvolume. +// CloneSubVolumeSnapshot clones the specified snapshot from the subvolume. +// The group, subvolume, and snapshot parameters specify the source for the +// clone, and only the source. Additional properties of the clone, such as the +// subvolume group that the clone will be created in and the pool layout may be +// specified using the clone options parameter. // // Similar To: -// ceph fs subvolume snapshot clone +// ceph fs subvolume snapshot clone --group_name= [...] func (fsa *FSAdmin) CloneSubVolumeSnapshot(volume, group, subvolume, snapshot, name string, o *CloneOptions) error { m := map[string]string{ "prefix": "fs subvolume snapshot clone",