fix(config): merge conflicts

This commit is contained in:
Shawn 2021-07-23 18:20:45 +08:00
parent 29826000f0
commit 7a628e201f
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ statsd(put, Request) ->
{ok, Body, _} = cowboy_req:read_body(Request),
Params = emqx_json:decode(Body, [return_maps]),
Enable = maps:get(<<"enable">>, Params),
ok = emqx_config:update_config([emqx_statsd], Params),
ok = emqx_config:update([emqx_statsd], Params),
enable_statsd(Enable).
enable_statsd(true) ->