JianBo He 2 лет назад
Родитель
Сommit
81209e0ded
2 измененных файлов с 3 добавлено и 1 удалено
  1. 1 1
      apps/emqx_management/src/emqx_mgmt_cluster.erl
  2. 2 0
      changes/ce/feat-12267.en.md

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

@@ -196,4 +196,4 @@ is_succeed_result(Result) ->
     end.
 
 format_error_reason(Term) ->
-    iolist_to_binary(io_lib:format("~p", [Msg])).
+    iolist_to_binary(io_lib:format("~p", [Term])).

+ 2 - 0
changes/ce/feat-12267.en.md

@@ -1,2 +1,4 @@
 Add a new `timeout` parameter to the `cluster/:node/invite` interface.
 Previously the default timeout was 5s which would often be caused by HTTP API calls due to emqx taking too long to join cluster.
+
+Add a new endpoint `/cluster/:node/invite_async` to support an asynchronous way to invite nodes to join the cluster.