Browse Source

chore: fix typespec

Thales Macedo Garitezi 2 years ago
parent
commit
094e4a2eeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/emqx_conf/src/emqx_cluster_rpc.erl

+ 1 - 1
apps/emqx_conf/src/emqx_cluster_rpc.erl

@@ -204,7 +204,7 @@ do_multicall(M, F, A, RequiredSyncs, Timeout) ->
 query(TnxId) ->
 query(TnxId) ->
     transaction(fun ?MODULE:trans_query/1, [TnxId]).
     transaction(fun ?MODULE:trans_query/1, [TnxId]).
 
 
--spec reset() -> reset.
+-spec reset() -> ok.
 reset() -> gen_server:call(?MODULE, reset).
 reset() -> gen_server:call(?MODULE, reset).
 
 
 -spec status() -> {'atomic', [map()]} | {'aborted', Reason :: term()}.
 -spec status() -> {'atomic', [map()]} | {'aborted', Reason :: term()}.