Skip to content

Commit a2eb383

Browse files
authored
fix empty config requirement (#1622)
1 parent 4f74dd7 commit a2eb383

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ydb/core/driver_lib/cli_utils/cli_cmds_server.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,9 @@ class TClientCommandServerBase : public TClientCommand {
823823
}
824824

825825
inline void LoadYamlConfig(TCallContext callCtx) {
826+
if (!YamlConfigFile) {
827+
return;
828+
}
826829
auto yamlConfig = TFileInput(YamlConfigFile);
827830
NKikimrConfig::TAppConfig parsedConfig;
828831
NKikimr::NYaml::Parse(yamlConfig.ReadAll(), parsedConfig);

0 commit comments

Comments
 (0)