chore: hide plugins from conf load cli
This commit is contained in:
parent
5f76d56cda
commit
8b20a70344
|
@ -170,7 +170,7 @@ drop_hidden_roots(Conf) ->
|
||||||
lists:foldl(fun(K, Acc) -> maps:remove(K, Acc) end, Conf, hidden_roots()).
|
lists:foldl(fun(K, Acc) -> maps:remove(K, Acc) end, Conf, hidden_roots()).
|
||||||
|
|
||||||
hidden_roots() ->
|
hidden_roots() ->
|
||||||
[<<"trace">>, <<"stats">>, <<"broker">>, <<"persistent_session_store">>].
|
[<<"trace">>, <<"stats">>, <<"broker">>, <<"persistent_session_store">>, <<"plugins">>].
|
||||||
|
|
||||||
get_config(Key) ->
|
get_config(Key) ->
|
||||||
case emqx:get_raw_config([Key], undefined) of
|
case emqx:get_raw_config([Key], undefined) of
|
||||||
|
|
Loading…
Reference in New Issue