fix: can't update authentication when cluster-override.conf

This commit is contained in:
Zhongwen Deng 2023-04-25 11:59:06 +08:00
parent 3f689d0fdf
commit f84fc6f8b9
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ init_load(SchemaMod, Conf, Opts) when is_list(Conf) orelse is_binary(Conf) ->
init_load(HasDeprecatedFile, SchemaMod, RawConf, Opts).
init_load(true, SchemaMod, RawConf, Opts) when is_map(RawConf) ->
ok = save_schema_mod_and_names(SchemaMod),
%% deprecated conf will be removed in 5.1
%% Merge environment variable overrides on top
RawConfWithEnvs = merge_envs(SchemaMod, RawConf),