mirror of https://github.com/grpc/grpc-java.git
xds: Update the env variable to enable custom LB config (#9170)
This commit is contained in:
parent
23ab7d0309
commit
8a84611d9d
|
|
@ -164,8 +164,8 @@ final class ClientXdsClient extends XdsClient implements XdsResponseHandler, Res
|
||||||
: Boolean.parseBoolean(System.getProperty("io.grpc.xds.experimentalEnableLeastRequest"));
|
: Boolean.parseBoolean(System.getProperty("io.grpc.xds.experimentalEnableLeastRequest"));
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
static boolean enableCustomLbConfig =
|
static boolean enableCustomLbConfig =
|
||||||
!Strings.isNullOrEmpty(System.getenv("GRPC_EXPERIMENTAL_ENABLE_CUSTOM_LB_CONFIG"))
|
!Strings.isNullOrEmpty(System.getenv("GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG"))
|
||||||
? Boolean.parseBoolean(System.getenv("GRPC_EXPERIMENTAL_ENABLE_CUSTOM_LB_CONFIG"))
|
? Boolean.parseBoolean(System.getenv("GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG"))
|
||||||
: Boolean.parseBoolean(
|
: Boolean.parseBoolean(
|
||||||
System.getProperty("io.grpc.xds.experimentalEnableCustomLbConfig"));
|
System.getProperty("io.grpc.xds.experimentalEnableCustomLbConfig"));
|
||||||
private static final String TYPE_URL_HTTP_CONNECTION_MANAGER_V2 =
|
private static final String TYPE_URL_HTTP_CONNECTION_MANAGER_V2 =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue