fix(data_import): rm duplicate import call and fix test

This commit is contained in:
Thales Macedo Garitezi 2023-09-04 14:19:59 -03:00
parent 73d4248334
commit 02c3d6a0a7
2 changed files with 1 additions and 2 deletions

View File

@ -525,7 +525,6 @@ do_import_conf(RawConf, Opts) ->
Errors = Errors =
lists:foldr( lists:foldr(
fun(Module, ErrorsAcc) -> fun(Module, ErrorsAcc) ->
Module:import_config(RawConf),
case Module:import_config(RawConf) of case Module:import_config(RawConf) of
{ok, #{changed := Changed}} -> {ok, #{changed := Changed}} ->
maybe_print_changed(Changed, Opts), maybe_print_changed(Changed, Opts),

View File

@ -440,8 +440,8 @@ create_test_tab(Attributes) ->
apps_to_start() -> apps_to_start() ->
[ [
{emqx_conf, "dashboard.listeners.http.bind = 0"},
{emqx, #{override_env => [{boot_modules, [broker, router]}]}}, {emqx, #{override_env => [{boot_modules, [broker, router]}]}},
{emqx_conf, "dashboard.listeners.http.bind = 0"},
emqx_psk, emqx_psk,
emqx_management, emqx_management,
emqx_dashboard, emqx_dashboard,