We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d636e commit 5199bc6Copy full SHA for 5199bc6
ydb/core/driver_lib/run/run.cpp
@@ -1385,8 +1385,14 @@ void TKikimrRunner::InitializeActorSystem(
1385
}
1386
1387
if (runConfig.AppConfig.HasGRpcConfig()) {
1388
- if (const ui32 grpcPort = runConfig.AppConfig.GetGRpcConfig().GetPort()) {
1389
- auto driverConfig = NYdb::TDriverConfig().SetEndpoint(TStringBuilder() << "localhost:" << grpcPort);
+ ui32 port = runConfig.AppConfig.GetGRpcConfig().GetPort();
+
1390
+ if (!port) {
1391
+ port = runConfig.AppConfig.GetGRpcConfig().GetSslPort();
1392
+ }
1393
1394
+ if (port) {
1395
+ auto driverConfig = NYdb::TDriverConfig().SetEndpoint(TStringBuilder() << "localhost:" << port);
1396
YdbDriver.Reset(new NYdb::TDriver(driverConfig));
1397
AppData->YdbDriver = YdbDriver.Get();
1398
0 commit comments