From 9b9b364f6983ec56273447640563b677d3f7e152 Mon Sep 17 00:00:00 2001 From: Zach Reyes <39203661+zasweq@users.noreply.github.com> Date: Thu, 25 May 2023 19:54:17 -0400 Subject: [PATCH] internal/envconfig: Set Custom LB Env Var to true by default (#6317) --- internal/envconfig/xds.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/envconfig/xds.go b/internal/envconfig/xds.go index 1d9152e8eeb2..8b3418785450 100644 --- a/internal/envconfig/xds.go +++ b/internal/envconfig/xds.go @@ -89,7 +89,7 @@ var ( // C2PResolverTestOnlyTrafficDirectorURI is the TD URI for testing. C2PResolverTestOnlyTrafficDirectorURI = os.Getenv("GRPC_TEST_ONLY_GOOGLE_C2P_RESOLVER_TRAFFIC_DIRECTOR_URI") // XDSCustomLBPolicy indicates whether Custom LB Policies are enabled, which - // can be enabled by setting the environment variable - // "GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG" to "true". - XDSCustomLBPolicy = boolFromEnv("GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG", false) + // can be disabled by setting the environment variable + // "GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG" to "false". + XDSCustomLBPolicy = boolFromEnv("GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG", true) )