fix(data_import): rm duplicate import call and fix test
This commit is contained in:
parent
73d4248334
commit
02c3d6a0a7
|
@ -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),
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue