diff options
author | yuryalekseev <yuryalekseev@yandex-team.com> | 2022-09-28 13:50:31 +0300 |
---|---|---|
committer | yuryalekseev <yuryalekseev@yandex-team.com> | 2022-09-28 13:50:31 +0300 |
commit | 9416812e3c2e866d0d90533046cda3489d87eb4f (patch) | |
tree | 7de9a45cf85bfa8ae73aa9fc8aba8fbce910fa5d | |
parent | 300c8cdc8cdb9efcf173ab131ef620708cdfd780 (diff) | |
download | ydb-9416812e3c2e866d0d90533046cda3489d87eb4f.tar.gz |
Tidy up some path usages.
-rw-r--r-- | ydb/core/driver_lib/cli_utils/cli_cmds_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/driver_lib/cli_utils/cli_cmds_server.cpp b/ydb/core/driver_lib/cli_utils/cli_cmds_server.cpp index 30d1f53382a..0f75933678e 100644 --- a/ydb/core/driver_lib/cli_utils/cli_cmds_server.cpp +++ b/ydb/core/driver_lib/cli_utils/cli_cmds_server.cpp @@ -500,7 +500,7 @@ protected: AppConfig.MutableGRpcConfig()->SetPathToPrivateKeyFile(AppConfig.GetGRpcConfig().GetKey()); } - if (config.ParseResult->Has("grpc-key")) { + if (!PathToGrpcPrivateKeyFile.Empty()) { AppConfig.MutableGRpcConfig()->SetPathToPrivateKeyFile(PathToGrpcPrivateKeyFile); } @@ -508,7 +508,7 @@ protected: AppConfig.MutableGRpcConfig()->SetPathToCaFile(AppConfig.GetGRpcConfig().GetCA()); } - if (config.ParseResult->Has("grpc-ca")) { + if (!PathToGrpcCaFile.Empty()) { AppConfig.MutableGRpcConfig()->SetPathToCaFile(PathToGrpcCaFile); } |