diff --git a/operators/multiclusterobservability/pkg/config/config.go b/operators/multiclusterobservability/pkg/config/config.go index 0ce7a5b364..4499ad202d 100644 --- a/operators/multiclusterobservability/pkg/config/config.go +++ b/operators/multiclusterobservability/pkg/config/config.go @@ -483,14 +483,6 @@ func GetDefaultTenantName() string { // GetObsAPIRouteHost is used to Route's host for Observatorium API. This doesn't take into consideration // the `advanced.customObservabilityHubURL` configuration. func GetObsAPIRouteHost(ctx context.Context, client client.Client, namespace string) (string, error) { - mco := &observabilityv1beta2.MultiClusterObservability{} - err := client.Get(ctx, - types.NamespacedName{ - Name: GetMonitoringCRName(), - }, mco) - if err != nil && !errors.IsNotFound(err) { - return "", err - } return GetRouteHost(client, obsAPIGateway, namespace) }