cephfs: expand clone error messages

Adding "snapshot clone" in the clone error messages.

Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
This commit is contained in:
Mudit Agarwal 2021-04-26 16:20:10 +05:30 committed by mergify[bot]
parent c932176802
commit ec105bd782

View File

@ -28,10 +28,10 @@ const (
var (
// ErrCloneInProgress is returned when snapshot clone state is `in progress`
ErrCloneInProgress = errors.New("in progress")
ErrCloneInProgress = errors.New("clone from snapshot is already in progress")
// ErrClonePending is returned when snapshot clone state is `pending`
ErrClonePending = errors.New("pending")
ErrClonePending = errors.New("clone from snapshot is pending")
// ErrInvalidVolID is returned when a CSI passed VolumeID is not conformant to any known volume ID
// formats.