diff --git a/internal/rbd/snapshot.go b/internal/rbd/snapshot.go index f15f41db1..62191666b 100644 --- a/internal/rbd/snapshot.go +++ b/internal/rbd/snapshot.go @@ -64,17 +64,6 @@ func createRBDClone( return err } - err = cloneRbdVol.getImageInfo() - if err != nil { - log.ErrorLog(ctx, "failed to get rbd image: %s details with error: %v", cloneRbdVol, err) - delErr := deleteImage(ctx, cloneRbdVol, cr) - if delErr != nil { - log.ErrorLog(ctx, "failed to delete rbd image: %s with error: %v", cloneRbdVol, delErr) - } - - return err - } - return nil }