diff --git a/internal/rbd/clone.go b/internal/rbd/clone.go index 008d94a40..6b436719f 100644 --- a/internal/rbd/clone.go +++ b/internal/rbd/clone.go @@ -100,7 +100,7 @@ func (rv *rbdVolume) checkCloneImage(ctx context.Context, parentVol *rbdVolume) err = rv.cloneRbdImageFromSnapshot(ctx, snap) if err != nil { util.ErrorLog(ctx, "failed to clone rbd image %s from snapshot %s: %v", rv.RbdImageName, snap.RbdSnapName, err) - err = fmt.Errorf("failed to clone rbd image %s from snapshot %s: %v", rv.RbdImageName, snap.RbdSnapName, err) + err = fmt.Errorf("failed to clone rbd image %s from snapshot %s: %w", rv.RbdImageName, snap.RbdSnapName, err) return false, err } err = tempClone.deleteSnapshot(ctx, snap)