chore: add changelog for 11226 pr

This commit is contained in:
zhongwencool 2023-07-07 21:26:59 +08:00
parent d781346efc
commit c0ee47dc08
3 changed files with 4 additions and 3 deletions

View File

@ -229,7 +229,7 @@ t_ssl_password_cert(Config) ->
keyfile => filename:join(DataDir, "server-password.key")
},
LConf = #{
enabled => true,
enable => true,
bind => {{127, 0, 0, 1}, Port},
mountpoint => <<>>,
zone => default,

View File

@ -363,14 +363,14 @@ listeners_test() ->
?assertMatch(
#{
<<"bind">> := {{0, 0, 0, 0}, 1883},
<<"enabled">> := true
<<"enable">> := true
},
Tcp
),
?assertMatch(
#{
<<"bind">> := {{0, 0, 0, 0}, 8083},
<<"enabled">> := true,
<<"enable">> := true,
<<"websocket">> := #{<<"mqtt_path">> := "/mqtt"}
},
Ws

View File

@ -0,0 +1 @@
Unify the listener switch to `enable`, while being compatible with the previous `enabled`.