From 8efe854f63454833bf0b69ae9e06ff07236c2483 Mon Sep 17 00:00:00 2001 From: DDDHuang <904897578@qq.com> Date: Thu, 12 Aug 2021 10:24:46 +0800 Subject: [PATCH] fix: remove test code --- apps/emqx_management/src/emqx_mgmt_http.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/emqx_management/src/emqx_mgmt_http.erl b/apps/emqx_management/src/emqx_mgmt_http.erl index ba34d4802..c795e1de7 100644 --- a/apps/emqx_management/src/emqx_mgmt_http.erl +++ b/apps/emqx_management/src/emqx_mgmt_http.erl @@ -118,8 +118,7 @@ format({Addr, Port}) when is_tuple(Addr) -> io_lib:format("~s:~w", [inet:ntoa(Addr), Port]). apps() -> - % Apps = [App || {App, _, _} <- application:loaded_applications(), App =/= emqx_dashboard], - Apps = [App || {App, _, _} <- application:loaded_applications()], + Apps = [App || {App, _, _} <- application:loaded_applications(), App =/= emqx_dashboard], lists:filter(fun(App) -> case re:run(atom_to_list(App), "^emqx") of {match,[{0,4}]} -> true;