Skip to content

Commit

Permalink
fix empty config requirement (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
Enjection authored Feb 6, 2024
1 parent 4f74dd7 commit a2eb383
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ydb/core/driver_lib/cli_utils/cli_cmds_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,9 @@ class TClientCommandServerBase : public TClientCommand {
}

inline void LoadYamlConfig(TCallContext callCtx) {
if (!YamlConfigFile) {
return;
}
auto yamlConfig = TFileInput(YamlConfigFile);
NKikimrConfig::TAppConfig parsedConfig;
NKikimr::NYaml::Parse(yamlConfig.ReadAll(), parsedConfig);
Expand Down

0 comments on commit a2eb383

Please sign in to comment.