diff options
| author | Aleksei Kobzev <[email protected]> | 2025-09-24 12:48:49 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-24 12:48:49 +0300 |
| commit | 591bbdb7d2c04971f527b306ef95b87b835599fa (patch) | |
| tree | ffbe40a2a590174290af48f0fe80d1e6e8108034 | |
| parent | dc5b81f71745b8fbf11bb99619d315bafc904969 (diff) | |
remove newline cluster.txt (#22536)
| -rw-r--r-- | ydb/tools/cfg/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/tools/cfg/utils.py b/ydb/tools/cfg/utils.py index 059177bbf9c..98fa805fc38 100644 --- a/ydb/tools/cfg/utils.py +++ b/ydb/tools/cfg/utils.py @@ -43,7 +43,8 @@ def write_to_file(file_path, value): with open(file_path, 'w') as writer: writer.write(value) - writer.write('\n') + if os.path.basename(file_path) != "cluster.txt": + writer.write('\n') def write_proto_to_file(file_path, proto): |
