Skip to content

Commit

Permalink
Fix cfg tool (#13582)
Browse files Browse the repository at this point in the history
  • Loading branch information
mregrock authored Jan 20, 2025
1 parent 1ad3712 commit 5aec4ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ydb/core/protos/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ message TDomainsConfig {
repeated THiveConfig HiveConfig = 4;
repeated TNamedCompactionPolicy NamedCompactionPolicy = 5;
optional bool ForbidImplicitStoragePools = 7 [default = true];
reserved 8;
reserved 6;
reserved "SecurityConfig";
}

Expand Down
3 changes: 2 additions & 1 deletion ydb/tools/cfg/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import yaml
from ydb.core.fq.libs.config.protos.fq_config_pb2 import TConfig as TFederatedQueryConfig
from ydb.library.yaml_config.protos.config_pb2 import TExtendedDomainsConfig
from google.protobuf import json_format

from ydb.core.protos import (
Expand Down Expand Up @@ -979,7 +980,7 @@ def __configure_security_settings(self, domains_config):
)

def __generate_domains_txt(self):
self.__proto_configs["domains.txt"] = config_pb2.TDomainsConfig()
self.__proto_configs["domains.txt"] = TExtendedDomainsConfig()

domains_config = self.__proto_configs["domains.txt"]

Expand Down
1 change: 1 addition & 0 deletions ydb/tools/cfg/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ PEERDIR(
library/cpp/resource
library/python/resource
ydb/core/protos
ydb/library/yaml_config/protos
)

END()

0 comments on commit 5aec4ca

Please sign in to comment.