From a45998c8d315166522353b67c1f14dfa80c06e75 Mon Sep 17 00:00:00 2001 From: Claudiu Dragalina-Paraipan Date: Mon, 14 Oct 2024 19:03:41 +0300 Subject: [PATCH] use FlagAppPlatformGrpcClientAuth to enable new behavior, instead of legacy --- pkg/storage/unified/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/unified/client.go b/pkg/storage/unified/client.go index cd505148608..a30c05f94a7 100644 --- a/pkg/storage/unified/client.go +++ b/pkg/storage/unified/client.go @@ -94,7 +94,7 @@ func ProvideUnifiedStorageClient( } func newResourceClient(ctx context.Context, conn *grpc.ClientConn, cfg *setting.Cfg, features featuremgmt.FeatureToggles) (resource.ResourceClient, error) { - if features.IsEnabled(ctx, featuremgmt.FlagAppPlatformGrpcClientAuth) { + if !features.IsEnabled(ctx, featuremgmt.FlagAppPlatformGrpcClientAuth) { return resource.NewLegacyResourceClient(conn), nil }