fix(emqx_schema): define bind as a mandatory config of listener
This commit is contained in:
parent
7390d2bb36
commit
50ccaec4b0
|
@ -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, <<>>)}
|
||||
|
|
Loading…
Reference in New Issue