chore: change community to opensource

This commit is contained in:
Zhongwen Deng 2022-09-05 14:26:53 +08:00
parent d447659365
commit 57cc880977
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
{id, "emqx_machine"},
{description, "The EMQX Machine"},
% strict semver, bump manually!
{vsn, "0.1.0"},
{vsn, "0.1.1"},
{modules, []},
{registered, []},
{applications, [kernel, stdlib]},

View File

@ -558,5 +558,5 @@ table_size(Tab) -> ets:info(Tab, size).
edition() ->
case emqx_release:edition() of
ee -> <<"enterprise">>;
ce -> <<"community">>
ce -> <<"opensource">>
end.

View File

@ -219,8 +219,8 @@ fields(node_info) ->
)},
{edition,
mk(
enum([community, enterprise]),
#{desc => <<"Release edition">>, example => "community"}
enum([opensource, enterprise]),
#{desc => <<"Release edition">>, example => "opensource"}
)},
{sys_path,
mk(

View File

@ -60,7 +60,7 @@ t_nodes_api(_) ->
Edition = maps:get(<<"edition">>, LocalNodeInfo),
case emqx_release:edition() of
ee -> ?assertEqual(<<"enterprise">>, Edition);
ce -> ?assertEqual(<<"community">>, Edition)
ce -> ?assertEqual(<<"opensource">>, Edition)
end,
NodePath = emqx_mgmt_api_test_util:api_path(["nodes", atom_to_list(node())]),