From bc5963eee2d68908711a928f40ff2e10a99ef48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20G=C3=BCne=C5=9F?= Date: Mon, 15 Jul 2024 10:33:20 +0300 Subject: [PATCH] address review comments --- pkg/controller/perconaservermongodb/volumes.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/controller/perconaservermongodb/volumes.go b/pkg/controller/perconaservermongodb/volumes.go index 37c5f42445..a761b8c457 100644 --- a/pkg/controller/perconaservermongodb/volumes.go +++ b/pkg/controller/perconaservermongodb/volumes.go @@ -202,10 +202,6 @@ func (r *ReconcilePerconaServerMongoDB) resizeVolumesIfNeeded(ctx context.Contex return errors.Wrapf(err, "delete statefulset/%s", sts.Name) } - if err := k8s.DeannotateObject(ctx, r.client, sts, psmdbv1.AnnotationPVCResizeInProgress); err != nil { - return errors.Wrap(err, "deannotate pxc") - } - log.Info("PVC resize completed") return nil