Skip to content

Commit 9731c04

Browse files
authored
Generate cluster.txt by ydbd_slice (#17577)
1 parent 678deca commit 9731c04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/tools/cfg/static.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,10 @@ def get_all_configs(self):
416416
all_configs["config.yaml"] = self.get_yaml_format_config(normalized_config)
417417

418418
all_configs["dynconfig.yaml"] = self.get_yaml_format_dynconfig(normalized_config)
419+
420+
if 'log.txt' in self.__proto_configs and self.__proto_configs['log.txt'].ClusterName:
421+
all_configs['cluster.txt'] = self.__proto_configs['log.txt'].ClusterName
422+
419423
return all_configs
420424

421425
def get_yaml_format_string(self, key):

0 commit comments

Comments
 (0)