chore: remove /configs/listeners, we should use /listeners/ API

This commit is contained in:
Zhongwen Deng 2022-07-14 15:10:50 +08:00
parent 0f5f3985a5
commit 26820ed0c4
3 changed files with 8 additions and 12 deletions

View File

@ -18,6 +18,7 @@
* Improve the dashboard listener startup log, the listener name is no longer spliced with port information, * Improve the dashboard listener startup log, the listener name is no longer spliced with port information,
and the colon(:) is no longer displayed when IP is not specified. [#8480](https://github.com/emqx/emqx/pull/8480) and the colon(:) is no longer displayed when IP is not specified. [#8480](https://github.com/emqx/emqx/pull/8480)
* Remove `/configs/listeners` API, use `/listeners/` instead. [#8485](https://github.com/emqx/emqx/pull/8485)
# 5.0.3 # 5.0.3

View File

@ -1,13 +1,7 @@
%% -*- mode: erlang -*- %% -*- mode: erlang -*-
%% Unless you know what you are doing, DO NOT edit manually!! %% Unless you know what you are doing, DO NOT edit manually!!
{VSN, {VSN,
[{"5.0.0", %% we should always restart dashboard to make sure api rules/swagger is updated
[{load_module,emqx_dashboard,brutal_purge,soft_purge,[]}, [{<<".*">>,[{restart_application, emqx_dashboard}]}],
{load_module,emqx_dashboard_api,brutal_purge,soft_purge,[]}, [{<<".*">>,[{restart_application, emqx_dashboard}]}]
{load_module,emqx_dashboard_token,brutal_purge,soft_purge,[]}]}, }.
{<<".*">>,[]}],
[{"5.0.0",
[{load_module,emqx_dashboard,brutal_purge,soft_purge,[]},
{load_module,emqx_dashboard_api,brutal_purge,soft_purge,[]},
{load_module,emqx_dashboard_token,brutal_purge,soft_purge,[]}]},
{<<".*">>,[]}]}.

View File

@ -62,7 +62,8 @@
<<"prometheus">>, <<"prometheus">>,
<<"telemetry">>, <<"telemetry">>,
<<"sys_topics">>, <<"sys_topics">>,
<<"limiter">> <<"limiter">>,
<<"listeners">>
] ++ global_zone_roots() ] ++ global_zone_roots()
). ).