fix: dashboard monitor bad key spell

This commit is contained in:
DDDHuang 2022-03-14 17:57:56 +08:00
parent 4c93a71446
commit a6b7f51d96
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ internal_format(#emqx_monit{time = Time, data = Data}) ->
count_map(M1, M2) ->
Fun =
fun(Key, Map) ->
Map#{key => maps:get(Key, M1) + maps:get(Key, M2)}
Map#{Key => maps:get(Key, M1) + maps:get(Key, M2)}
end,
lists:foldl(Fun, #{}, ?SAMPLER_LIST).