perf: keep defaults of zone.mqtt

This commit is contained in:
William Yang 2023-04-28 13:45:29 +02:00
parent 265c9ea668
commit 77405d9cd7
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ hidden() ->
"flapping_detect"
].
%% optimized for mqtt field
fields("mqtt") ->
emqx_schema:fields("mqtt");
%% zone schemas are clones from the same name from root level
%% only not allowed to have default values.
fields(Name) ->