Skip to content

Commit

Permalink
fixed pattern matching
Browse files Browse the repository at this point in the history
  • Loading branch information
markus812498 committed Dec 1, 2023
1 parent 57b40d2 commit ce6c7b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ get_data(channel_metrics = Table, false, _, _) ->
{global_prefetch_count, A7}]}];
get_data(rabbit_stream_consumer_created = Table, false, _, _) ->
%% Table = rabbit_stream_consumer_created, %% real table name
{Table, A1, A2, A3} = ets:foldl(fun({{{_},_}, Props}, {T, A1, A2, A3}) ->
{Table, A1, A2, A3} = ets:foldl(fun({_, Props}, {T, A1, A2, A3}) ->
{T,
sum(proplists:get_value(offset, Props), A1),
sum(proplists:get_value(offset_lag, Props), A2),
Expand Down

0 comments on commit ce6c7b5

Please sign in to comment.