fix(mgmt): use correct arity fn

This commit is contained in:
Thales Macedo Garitezi 2022-07-01 15:54:02 -03:00
parent 84c6a27758
commit fcb2d3dc51
1 changed files with 1 additions and 1 deletions

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);