chore(bpapi): ignore emqx_mgmt_api:collect_total_from_tail_nodes/3
This commit is contained in:
parent
79a2682fd3
commit
0c1412315c
|
@ -62,9 +62,10 @@
|
||||||
%% List of business-layer functions that are exempt from the checks:
|
%% List of business-layer functions that are exempt from the checks:
|
||||||
%% erlfmt-ignore
|
%% erlfmt-ignore
|
||||||
-define(EXEMPTIONS,
|
-define(EXEMPTIONS,
|
||||||
"emqx_mgmt_api:do_query/2" % Reason: legacy code. A fun and a QC query are
|
% Reason: legacy code. A fun and a QC query are
|
||||||
% passed in the args, it's futile to try to statically
|
% passed in the args, it's futile to try to statically
|
||||||
% check it
|
% check it
|
||||||
|
"emqx_mgmt_api:do_query/2, emqx_mgmt_api:collect_total_from_tail_nodes/3"
|
||||||
).
|
).
|
||||||
|
|
||||||
-define(XREF, myxref).
|
-define(XREF, myxref).
|
||||||
|
|
|
@ -319,7 +319,7 @@ t_list_users(_) ->
|
||||||
is_superuser := _
|
is_superuser := _
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
meta := #{page := 1, limit := 3, count := 1}
|
meta := #{page := 1, limit := 3, count := 0}
|
||||||
} = emqx_enhanced_authn_scram_mnesia:list_users(
|
} = emqx_enhanced_authn_scram_mnesia:list_users(
|
||||||
#{
|
#{
|
||||||
<<"page">> => 1,
|
<<"page">> => 1,
|
||||||
|
|
Loading…
Reference in New Issue