chore: why we should ingore save kernel app env when init

This commit is contained in:
Zhongwen Deng 2023-01-13 23:33:22 +08:00
parent 1fe0061123
commit 588140b842
1 changed files with 2 additions and 0 deletions

View File

@ -542,6 +542,8 @@ save_configs(AppEnvs, Conf, RawConf, OverrideConf, Opts) ->
save_to_app_env(AppEnvs),
save_to_config_map(Conf, RawConf).
%% we ignore kernel app env,
%% because the old app env will be used in emqx_config_logger:post_config_update/5
-define(IGNORE_APPS, [kernel]).
-spec save_to_app_env([tuple()]) -> ok.