Merge pull request #8391 from thalesmg/ci-xref

ci: run xref checks in CI
This commit is contained in:
Thales Macedo Garitezi 2022-07-01 16:26:31 -03:00 committed by GitHub
commit 0e82979ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@ jobs:
fi
- name: fix-git-unsafe-repository
run: git config --global --add safe.directory /__w/emqx/emqx
- name: make xref
run: make xref
- name: build zip packages
run: make ${EMQX_NAME}-zip
- name: build deb/rpm packages

View File

@ -580,7 +580,7 @@ acl(["cache-clean", "node", Node]) ->
with_log(fun() -> for_node(fun emqx_mgmt:clean_acl_cache_all/1, Node) end,
"ACL cache drain start");
acl(["cache-clean", "all"]) ->
with_log(fun emqx_mgmt:clean_acl_cache_all/1,
with_log(fun emqx_mgmt:clean_acl_cache_all/0,
"ACL cache drain start");
acl(["cache-clean", ClientId]) ->
emqx_mgmt:clean_acl_cache(ClientId);