Skip to content

Commit

Permalink
Merge pull request emqx#13195 from lafirest/fix/typos
Browse files Browse the repository at this point in the history
fix: fix typos
  • Loading branch information
lafirest authored Jun 7, 2024
2 parents 2574357 + d4118c6 commit eb21572
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/emqx_rule_engine/src/emqx_rule_events.erl
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ test_columns('client.check_authn_complete') ->
[
{<<"clientid">>, [<<"c_emqx">>, <<"the clientid if the client">>]},
{<<"username">>, [<<"u_emqx">>, <<"the username if the client">>]},
{<<"reason_code">>, [<<"sucess">>, <<"the reason code">>]},
{<<"reason_code">>, [<<"success">>, <<"the reason code">>]},
{<<"is_superuser">>, [true, <<"Whether this is a superuser">>]},
{<<"is_anonymous">>, [false, <<"Whether this is a superuser">>]}
];
Expand Down Expand Up @@ -1087,7 +1087,7 @@ columns_with_exam('client.check_authn_complete') ->
{<<"clientid">>, <<"c_emqx">>},
{<<"username">>, <<"u_emqx">>},
{<<"peername">>, <<"192.168.0.10:56431">>},
{<<"reason_code">>, <<"sucess">>},
{<<"reason_code">>, <<"success">>},
{<<"is_superuser">>, true},
{<<"is_anonymous">>, false},
{<<"timestamp">>, erlang:system_time(millisecond)},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ t_rule_test_smoke(_Config) ->
#{
<<"clientid">> => <<"c_emqx">>,
<<"event_type">> => <<"client_check_authn_complete">>,
<<"reason_code">> => <<"sucess">>,
<<"reason_code">> => <<"success">>,
<<"is_superuser">> => true,
<<"is_anonymous">> => false,
<<"username">> => <<"u_emqx">>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ t_ctx_check_authn_complete(_) ->
#{
clientid => <<"c_emqx">>,
event_type => client_check_authn_complete,
reason_code => <<"sucess">>,
reason_code => <<"success">>,
is_superuser => true,
is_anonymous => false
},
Expand Down

0 comments on commit eb21572

Please sign in to comment.