fix(statsd): fix dialyzer warnings
This commit is contained in:
parent
2411c22b42
commit
231aeb6068
|
@ -59,7 +59,7 @@ statsd(put, #{body := Body}) ->
|
|||
Body,
|
||||
#{rawconf_with_defaults => true, override_to => cluster}) of
|
||||
{ok, #{raw_config := NewConfig, config := Config}} ->
|
||||
case maps:get(<<"enable">>, Body) of
|
||||
_ = case maps:get(<<"enable">>, Body) of
|
||||
true ->
|
||||
_ = emqx_statsd_sup:stop_child(?APP),
|
||||
emqx_statsd_sup:start_child(?APP, maps:get(config, Config));
|
||||
|
|
Loading…
Reference in New Issue