feat: enable importing backup json for 4.5

This commit is contained in:
Thales Macedo Garitezi 2022-08-11 16:04:43 -03:00
parent efef052ec7
commit 98da31e8b2
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{application, emqx_management,
[{description, "EMQ X Management API and CLI"},
{vsn, "4.4.6"}, % strict semver, bump manually!
{vsn, "4.4.7"}, % strict semver, bump manually!
{modules, []},
{registered, [emqx_management_sup]},
{applications, [kernel,stdlib,emqx_plugin_libs,minirest]},

View File

@ -939,6 +939,8 @@ is_version_supported2("4.3") ->
true;
is_version_supported2("4.4") ->
true;
is_version_supported2("4.5") ->
true;
is_version_supported2(Version) ->
case re:run(Version, "^4.[02].\\d+$", [{capture, none}]) of
match ->