chore: make static_check happy

This commit is contained in:
某文 2023-04-23 17:20:54 +08:00
parent b4c16d37c7
commit 8bfee90322
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@
{emqx_cm,1}. {emqx_cm,1}.
{emqx_conf,1}. {emqx_conf,1}.
{emqx_conf,2}. {emqx_conf,2}.
{emqx_conf,3}.
{emqx_dashboard,1}. {emqx_dashboard,1}.
{emqx_delayed,1}. {emqx_delayed,1}.
{emqx_exhook,1}. {emqx_exhook,1}.

View File

@ -20,6 +20,7 @@
-export([ -export([
introduced_in/0, introduced_in/0,
deprecated_since/0,
sync_data_from_node/1, sync_data_from_node/1,
get_config/2, get_config/2,
get_config/3, get_config/3,
@ -41,6 +42,9 @@
introduced_in() -> introduced_in() ->
"5.0.1". "5.0.1".
deprecated_since() ->
"5.0.23".
-spec sync_data_from_node(node()) -> {ok, binary()} | emqx_rpc:badrpc(). -spec sync_data_from_node(node()) -> {ok, binary()} | emqx_rpc:badrpc().
sync_data_from_node(Node) -> sync_data_from_node(Node) ->
rpc:call(Node, emqx_conf_app, sync_data_from_node, [], 20000). rpc:call(Node, emqx_conf_app, sync_data_from_node, [], 20000).