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

@ -17,7 +17,8 @@
## Enhancements
* 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

View File

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

View File

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