fix(bpapi): make static_check happy

This commit is contained in:
JimMoen 2024-01-18 09:17:22 +08:00
parent 5914eb5ca5
commit 5534d5e9de
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -39,9 +39,10 @@ start(Nodes) ->
stop(Nodes) ->
rpc:multicall(Nodes, emqx_prometheus, do_stop, [], 5000).
-type key() :: atom() | binary() | [byte()].
-type key() :: atom().
-type arg() :: list(term()).
-spec raw_prom_data([node()], key(), key(), key()) -> emqx_rpc:erpc_multicall(term()).
-spec raw_prom_data([node()], key(), key(), arg()) -> emqx_rpc:erpc_multicall(term()).
raw_prom_data(Nodes, M, F, A) ->
erpc:multicall(
Nodes,