func CorrectMetadata(cl client.Client, access Access, log logr.Logger) error {
	if err := correctVolumes(cl, access, log); err != nil {
		return err
	}
	if err := correctTenants(cl, access, log); err != nil {
		return err
	}
	return nil
}
CorrectMetadata checks if the entries in the storage are actually valid
Removes not valid entries
package metadata
import (
	"context"
	dynatracev1beta1 "github.com/Dynatrace/dynatrace-operator/api/v1beta1"
	"github.com/go-logr/logr"
	corev1 "k8s.io/api/core/v1"
	k8serrors "k8s.io/apimachinery/pkg/api/errors"
	"sigs.k8s.io/controller-runtime/pkg/client"
)