chore(bpapi): ignore emqx_mgmt_api:collect_total_from_tail_nodes/3

This commit is contained in:
JianBo He 2022-11-17 21:43:30 +08:00 committed by Zaiming (Stone) Shi
parent 79a2682fd3
commit 0c1412315c
2 changed files with 5 additions and 4 deletions

View File

@ -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).

View File

@ -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,