chore: why we should ingore save kernel app env when init
This commit is contained in:
parent
1fe0061123
commit
588140b842
|
@ -542,6 +542,8 @@ save_configs(AppEnvs, Conf, RawConf, OverrideConf, Opts) ->
|
||||||
save_to_app_env(AppEnvs),
|
save_to_app_env(AppEnvs),
|
||||||
save_to_config_map(Conf, RawConf).
|
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]).
|
-define(IGNORE_APPS, [kernel]).
|
||||||
|
|
||||||
-spec save_to_app_env([tuple()]) -> ok.
|
-spec save_to_app_env([tuple()]) -> ok.
|
||||||
|
|
Loading…
Reference in New Issue