fix(emqx_schema): define bind as a mandatory config of listener

This commit is contained in:
Shawn 2021-08-30 20:49:58 +08:00
parent 7390d2bb36
commit 50ccaec4b0
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ mqtt_listener() ->
].
base_listener() ->
[ {"bind", t(union(ip_port(), integer()))}
[ {"bind", hoconsc:t(union(ip_port(), integer()), #{nullable => false})}
, {"acceptors", t(integer(), undefined, 16)}
, {"max_connections", maybe_infinity(integer(), infinity)}
, {"mountpoint", t(binary(), undefined, <<>>)}