Skip to content

Commit c149b45

Browse files
authored
Remove formating in config fetch (#15526)
1 parent 3aaddf8 commit c149b45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ydb/public/lib/ydb_cli/commands/ydb_dynamic_config.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ int TCommandConfigFetch::Run(TConfig& config) {
129129
}
130130

131131
if (!OutDir) {
132-
Cout << WrapYaml(cfg);
132+
Cout << cfg << Endl;
133133
} else {
134134
TFsPath dir(OutDir);
135135
dir.MkDirs();
@@ -164,14 +164,14 @@ int TCommandConfigFetch::Run(TConfig& config) {
164164
if (!storageConfig.empty() || DedicatedStorageSection) {
165165
Cerr << "cluster config: " << Endl;
166166
}
167-
Cout << WrapYaml(TString(clusterConfig));
167+
Cout << clusterConfig << Endl;
168168
}
169169

170170
if (!storageConfig.empty()) {
171171
if (!clusterConfig.empty() || DedicatedClusterSection) {
172172
Cerr << "storage config:" << Endl;
173173
}
174-
Cout << WrapYaml(TString(storageConfig));
174+
Cout << storageConfig << Endl;
175175
}
176176

177177
if (clusterConfig.empty() && storageConfig.empty()) {

0 commit comments

Comments
 (0)