fix: dashboard monitor bad key spell
This commit is contained in:
parent
4c93a71446
commit
a6b7f51d96
|
@ -344,7 +344,7 @@ internal_format(#emqx_monit{time = Time, data = Data}) ->
|
||||||
count_map(M1, M2) ->
|
count_map(M1, M2) ->
|
||||||
Fun =
|
Fun =
|
||||||
fun(Key, Map) ->
|
fun(Key, Map) ->
|
||||||
Map#{key => maps:get(Key, M1) + maps:get(Key, M2)}
|
Map#{Key => maps:get(Key, M1) + maps:get(Key, M2)}
|
||||||
end,
|
end,
|
||||||
lists:foldl(Fun, #{}, ?SAMPLER_LIST).
|
lists:foldl(Fun, #{}, ?SAMPLER_LIST).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue