chore: format statsd code

This commit is contained in:
Turtle 2021-07-26 13:34:09 +08:00 committed by turtleDeng
parent cafed47da6
commit 3b1303340a
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
##--------------------------------------------------------------------
## Statsd for EMQ X
##--------------------------------------------------------------------
## Statsd for EMQ X
##--------------------------------------------------------------------
emqx_statsd:{
enable: true

View File

@ -23,7 +23,6 @@
-import(emqx_mgmt_util, [ response_schema/1
, response_schema/2
, request_body_schema/1
, request_body_schema/2
]).
-export([api_spec/0]).
@ -103,6 +102,5 @@ enable_statsd(false) ->
ok = emqx_statsd_sup:stop_child(?APP),
{200}.
get_raw(Key, Def) ->
emqx_config:get_raw([<<"emqx_statsd">>]++ [Key], Def).