fix(emqx_access_control): reformat code
This commit is contained in:
parent
ccc134d061
commit
4c8deeb544
|
@ -60,8 +60,10 @@ check_authorization_cache(ClientInfo, PubSub, Topic) ->
|
|||
emqx_authz_cache:put_authz_cache(PubSub, Topic, AuthzResult),
|
||||
AuthzResult;
|
||||
AuthzResult ->
|
||||
emqx:run_hook('client.check_authz_complete',
|
||||
[ClientInfo, PubSub, Topic, AuthzResult, cache]),
|
||||
emqx:run_hook(
|
||||
'client.check_authz_complete',
|
||||
[ClientInfo, PubSub, Topic, AuthzResult, cache]
|
||||
),
|
||||
inc_acl_metrics(cache_hit),
|
||||
AuthzResult
|
||||
end.
|
||||
|
|
Loading…
Reference in New Issue