mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-04-11 18:13:00 +00:00
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:
parent
c932176802
commit
ec105bd782
@ -28,10 +28,10 @@ const (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
// ErrCloneInProgress is returned when snapshot clone state is `in progress`
|
// 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 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
|
// ErrInvalidVolID is returned when a CSI passed VolumeID is not conformant to any known volume ID
|
||||||
// formats.
|
// formats.
|
||||||
|
Loading…
Reference in New Issue
Block a user