revert: the rest

This commit is contained in:
grambbledook
2026-01-07 20:41:11 +01:00
parent c7090e2c42
commit 00e66d4408
+1 -6
View File
@@ -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"
@@ -78,11 +77,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