From 5153b5dad1774fe3c0d246ad41e541d0d8ec4232 Mon Sep 17 00:00:00 2001 From: grambbledook Date: Wed, 10 Dec 2025 13:05:00 +0100 Subject: [PATCH] revert: the rest --- pkg/registry/apps/apps.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/registry/apps/apps.go b/pkg/registry/apps/apps.go index 5dc8c43e8d7..dc52f4658e0 100644 --- a/pkg/registry/apps/apps.go +++ b/pkg/registry/apps/apps.go @@ -2,7 +2,6 @@ package appregistry import ( "context" - "github.com/open-feature/go-sdk/openfeature" "github.com/grafana/grafana/pkg/registry/apps/quotas" "github.com/open-feature/go-sdk/openfeature" @@ -77,11 +76,7 @@ func ProvideAppInstallers( installers = append(installers, logsdrilldownAppInstaller) } //nolint:staticcheck - ctx := context.Background() - s := openfeature.NewDefaultClient().String(ctx, featuremgmt.FlagBlueFlag, "red", openfeature.TransactionContext(ctx)) - println("@@@@@@", s) - if s == "blue" { - println("@@@@@@", "OH MY IS BLUE") + if features.IsEnabledGlobally(featuremgmt.FlagKubernetesAnnotations) { installers = append(installers, annotationAppInstaller) } //nolint:staticcheck // not yet migrated to OpenFeature