mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-04-11 18:13:00 +00:00
cleanup: correct misspelling in rbd/clone.go
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
448be70682
commit
314fe0e23d
@ -116,7 +116,7 @@ func (rv *rbdVolume) checkCloneImage(ctx context.Context, parentVol *rbdVolume)
|
|||||||
err = parentVol.checkSnapExists(snap)
|
err = parentVol.checkSnapExists(snap)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
// the temp clone exists, delete it lets reserve a new ID and
|
// the temp clone exists, delete it lets reserve a new ID and
|
||||||
// create new resources for clearner approach
|
// create new resources for a cleaner approach
|
||||||
err = parentVol.deleteSnapshot(ctx, snap)
|
err = parentVol.deleteSnapshot(ctx, snap)
|
||||||
}
|
}
|
||||||
if errors.Is(err, ErrSnapNotFound) {
|
if errors.Is(err, ErrSnapNotFound) {
|
||||||
|
Loading…
Reference in New Issue
Block a user