Merge pull request #7945 from DDDHuang/dash_m

feat: dashboard monitor missed topics field
This commit is contained in:
JimMoen 2022-05-14 00:15:43 +08:00 committed by GitHub
commit 0c88457b4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ merge_cluster_sampler_map(M1, M2) ->
Fun = Fun =
fun fun
(topics, Map) -> (topics, Map) ->
Map; Map#{topics => maps:get(topics, M1)};
(Key, Map) -> (Key, Map) ->
Map#{Key => maps:get(Key, M1) + maps:get(Key, M2)} Map#{Key => maps:get(Key, M1) + maps:get(Key, M2)}
end, end,