test: fix config test

This commit is contained in:
zmstone 2024-03-22 10:22:36 +01:00
parent 5e9814d171
commit 8e8fc6a3d1
2 changed files with 5 additions and 3 deletions

View File

@ -190,8 +190,9 @@
anonymous => boolean(),
cn => binary(),
dn => binary(),
%% extra attributes
client_attrs => client_attrs(),
%% Extra client attributes, commented out for bpapi spec backward compatibility.
%% This field is never used in RPC calls.
%% client_attrs => client_attrs(),
atom() => term()
}.
-type client_attrs() :: #{binary() => binary()}.

View File

@ -453,7 +453,8 @@ zone_global_defaults() ->
strict_mode => false,
upgrade_qos => false,
use_username_as_clientid => false,
wildcard_subscription => true
wildcard_subscription => true,
client_attrs_init => disabled
},
overload_protection =>
#{