File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1341,9 +1341,8 @@ void TKikimrRunner::InitializeXdsBootstrapConfig(const TKikimrRunConfig& runConf
13411341
13421342 static const TString XDS_BOOTSTRAP_ENV = " GRPC_XDS_BOOTSTRAP" ;
13431343 static const TString XDS_BOOTSTRAP_CONFIG_ENV = " GRPC_XDS_BOOTSTRAP_CONFIG" ;
1344- if (GetEnv (XDS_BOOTSTRAP_ENV).empty () && GetEnv (XDS_BOOTSTRAP_CONFIG_ENV).empty ()) {
1345- TXdsBootstrapConfigBuilder xdsConfigBuilder (runConfig.AppConfig .GetGRpcConfig ().GetXdsBootstrap ());
1346- SetEnv (XDS_BOOTSTRAP_CONFIG_ENV, xdsConfigBuilder.Build ());
1344+ if (GetEnv (XDS_BOOTSTRAP_ENV).empty () && GetEnv (XDS_BOOTSTRAP_CONFIG_ENV).empty () && runConfig.AppConfig .GetGRpcConfig ().HasXdsBootstrap ()) {
1345+ SetEnv (XDS_BOOTSTRAP_CONFIG_ENV, TXdsBootstrapConfigBuilder (runConfig.AppConfig .GetGRpcConfig ().GetXdsBootstrap ()).Build ());
13471346 }
13481347}
13491348
You can’t perform that action at this time.
0 commit comments