diff --git a/pkg/deployment/resources/pvc_inspector.go b/pkg/deployment/resources/pvc_inspector.go index 385e17241..2c24edfbb 100644 --- a/pkg/deployment/resources/pvc_inspector.go +++ b/pkg/deployment/resources/pvc_inspector.go @@ -79,7 +79,6 @@ func (r *Resources) InspectPVCs(ctx context.Context) (util.Interval, error) { continue } - updateMemberStatusNeeded := false if k8sutil.IsPersistentVolumeClaimMarkedForDeletion(&p) { // Process finalizers if x, err := r.runPVCFinalizers(ctx, &p, group, memberStatus); err != nil { @@ -89,11 +88,6 @@ func (r *Resources) InspectPVCs(ctx context.Context) (util.Interval, error) { nextInterval = nextInterval.ReduceTo(x) } } - if updateMemberStatusNeeded { - if err := status.Members.Update(memberStatus, group); err != nil { - return 0, maskAny(err) - } - } } return nextInterval, nil