Browse Source

Merge pull request #11097 from zhongwencool/port-11084

chore: hide plugins from conf load cli
JianBo He 2 years atrás
parent
commit
53ab85b165
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/emqx_conf/src/emqx_conf_cli.erl

+ 1 - 1
apps/emqx_conf/src/emqx_conf_cli.erl

@@ -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