Browse Source

chore: change community to opensource

Zhongwen Deng 3 years ago
parent
commit
57cc880977

+ 1 - 1
apps/emqx_machine/src/emqx_machine.app.src

@@ -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]},

+ 1 - 1
apps/emqx_management/src/emqx_mgmt.erl

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

+ 2 - 2
apps/emqx_management/src/emqx_mgmt_api_nodes.erl

@@ -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(

+ 1 - 1
apps/emqx_management/test/emqx_mgmt_api_nodes_SUITE.erl

@@ -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())]),