fix: reboot `emqx_license` app for join cluster
This commit is contained in:
parent
326c71205d
commit
6c36152612
|
@ -35,7 +35,7 @@
|
|||
-define(EMQX_RELEASE_CE, "5.0.21").
|
||||
|
||||
%% Enterprise edition
|
||||
-define(EMQX_RELEASE_EE, "5.0.2").
|
||||
-define(EMQX_RELEASE_EE, "5.0.2-patch-00").
|
||||
|
||||
%% the HTTP API version
|
||||
-define(EMQX_API_VERSION, "5.0").
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{id, "emqx_machine"},
|
||||
{description, "The EMQX Machine"},
|
||||
% strict semver, bump manually!
|
||||
{vsn, "0.2.1"},
|
||||
{vsn, "0.2.2"},
|
||||
{modules, []},
|
||||
{registered, []},
|
||||
{applications, [kernel, stdlib, emqx_ctl]},
|
||||
|
|
|
@ -126,7 +126,6 @@ reboot_apps() ->
|
|||
BaseRebootApps ++ ConfigApps.
|
||||
|
||||
basic_reboot_apps() ->
|
||||
CE =
|
||||
?BASIC_REBOOT_APPS ++
|
||||
[
|
||||
emqx_prometheus,
|
||||
|
@ -147,11 +146,12 @@ basic_reboot_apps() ->
|
|||
emqx_slow_subs,
|
||||
emqx_auto_subscribe,
|
||||
emqx_plugins
|
||||
],
|
||||
case emqx_release:edition() of
|
||||
ce -> CE;
|
||||
ee -> CE ++ []
|
||||
end.
|
||||
] ++ basic_reboot_apps_enterprise(emqx_release:edition()).
|
||||
|
||||
basic_reboot_apps_enterprise(ee) ->
|
||||
[emqx_license];
|
||||
basic_reboot_apps_enterprise(_) ->
|
||||
[].
|
||||
|
||||
sorted_reboot_apps() ->
|
||||
Apps = [{App, app_deps(App)} || App <- reboot_apps()],
|
||||
|
|
Loading…
Reference in New Issue