Skip to content

Commit

Permalink
cephfs: expand clone error messages
Browse files Browse the repository at this point in the history
Adding "snapshot clone" in the clone error messages.

Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
  • Loading branch information
agarwal-mudit authored and mergify[bot] committed Apr 26, 2021
1 parent c932176 commit ec105bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cephfs/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ec105bd

Please sign in to comment.