Fix typo
This commit is contained in:
parent
578355442b
commit
b3eed9123f
|
@ -35,8 +35,6 @@
|
||||||
-spec(authenticate(emqx_types:clientinfo()) -> {ok, result()} | {error, term()}).
|
-spec(authenticate(emqx_types:clientinfo()) -> {ok, result()} | {error, term()}).
|
||||||
authenticate(ClientInfo = #{zone := Zone}) ->
|
authenticate(ClientInfo = #{zone := Zone}) ->
|
||||||
case emqx_hooks:run_fold('client.authenticate', [ClientInfo], default_auth_result(Zone)) of
|
case emqx_hooks:run_fold('client.authenticate', [ClientInfo], default_auth_result(Zone)) of
|
||||||
Result = #{auth_result := success, anonymous := true} ->
|
|
||||||
{ok, Result};
|
|
||||||
Result = #{auth_result := success} ->
|
Result = #{auth_result := success} ->
|
||||||
{ok, Result};
|
{ok, Result};
|
||||||
Result ->
|
Result ->
|
||||||
|
|
|
@ -158,7 +158,7 @@
|
||||||
%% Client Lifecircle metrics
|
%% Client Lifecircle metrics
|
||||||
-define(CLIENT_METRICS,
|
-define(CLIENT_METRICS,
|
||||||
[{counter, 'client.connected'},
|
[{counter, 'client.connected'},
|
||||||
{cpunter, 'client.authenticate'},
|
{counter, 'client.authenticate'},
|
||||||
{counter, 'client.auth.anonymous'},
|
{counter, 'client.auth.anonymous'},
|
||||||
{counter, 'client.check_acl'},
|
{counter, 'client.check_acl'},
|
||||||
{counter, 'client.subscribe'},
|
{counter, 'client.subscribe'},
|
||||||
|
|
Loading…
Reference in New Issue