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),
|
emqx_authz_cache:put_authz_cache(PubSub, Topic, AuthzResult),
|
||||||
AuthzResult;
|
AuthzResult;
|
||||||
AuthzResult ->
|
AuthzResult ->
|
||||||
emqx:run_hook('client.check_authz_complete',
|
emqx:run_hook(
|
||||||
[ClientInfo, PubSub, Topic, AuthzResult, cache]),
|
'client.check_authz_complete',
|
||||||
|
[ClientInfo, PubSub, Topic, AuthzResult, cache]
|
||||||
|
),
|
||||||
inc_acl_metrics(cache_hit),
|
inc_acl_metrics(cache_hit),
|
||||||
AuthzResult
|
AuthzResult
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue