zmstone 1 год назад
Родитель
Сommit
919abcc796
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      apps/emqx/src/emqx_channel.erl
  2. 1 1
      changes/ce/feat-14195.en.md

+ 1 - 1
apps/emqx/src/emqx_channel.erl

@@ -1791,7 +1791,7 @@ override_clientid(Expression, #{clientid := OrigClientId} = ClientInfo) ->
             ClientInfo;
         {ok, ClientId} ->
             % Must add 'clientid' log meta for trace log filter
-            ?TRACE("MQTT", "clientid_overriden", #{
+            ?TRACE("MQTT", "clientid_overridden", #{
                 clientid => ClientId, original_clientid => OrigClientId
             }),
             ClientInfo#{clientid => ClientId};

+ 1 - 1
changes/ce/feat-14195.en.md

@@ -1,4 +1,4 @@
 Support clientid override.
 
-EMQX now allows custom client ID overrides with `clientid_override={Expression}`, offering more flexibility.
+EMQX now allows custom client ID overrides with `mqtt.clientid_override={Expression}`, offering more flexibility.
 This deprecates the `use_userid_as_clientid` and `peer_cert_as_clientid` options, which remain available for compatibility until version 6.0.