diff options
author | Sergey J <wintchester@gmail.com> | 2025-02-18 17:27:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-18 17:27:21 +0300 |
commit | 2f33cfeeb75989cd58b2095c4e7ada9ca992ff84 (patch) | |
tree | 09985adcf3370e30c60c1411104d9362a5335ae3 | |
parent | d1f5b91da822b27faad83d50ecfdd2830a1be93e (diff) | |
download | ydb-2f33cfeeb75989cd58b2095c4e7ada9ca992ff84.tar.gz |
Update base.py revert grpc_port changes (#14745)
-rw-r--r-- | ydb/tools/cfg/base.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ydb/tools/cfg/base.py b/ydb/tools/cfg/base.py index 5c6dbfcd20..3eb3a8f861 100644 --- a/ydb/tools/cfg/base.py +++ b/ydb/tools/cfg/base.py @@ -709,12 +709,7 @@ class ClusterDetailsProvider(object): @property def grpc_config(self): - grpc_config = merge_with_default(GRPC_DEFAULT_CONFIG, self.__cluster_description.get("grpc", {})) - # specifying both `port` and `ssl_port` leads to erroneous behavior in ydbd, half of the incoming - # connections use tls, half do not, so this is prohibited - if grpc_config.get("ssl_port") is not None: - del grpc_config["port"] - return grpc_config + return merge_with_default(GRPC_DEFAULT_CONFIG, self.__cluster_description.get("grpc", {})) @property def dynamicnameservice_config(self): |