Merge pull request #11097 from zhongwencool/port-11084

chore: hide plugins from conf load cli
This commit is contained in:
JianBo He 2023-06-20 14:05:59 +08:00 committed by GitHub
commit 53ab85b165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ drop_hidden_roots(Conf) ->
lists:foldl(fun(K, Acc) -> maps:remove(K, Acc) end, Conf, hidden_roots()).
hidden_roots() ->
[<<"trace">>, <<"stats">>, <<"broker">>, <<"persistent_session_store">>].
[<<"trace">>, <<"stats">>, <<"broker">>, <<"persistent_session_store">>, <<"plugins">>].
get_config(Key) ->
case emqx:get_raw_config([Key], undefined) of