Skip to content

Commit

Permalink
otpbp_diameter_service: remove support Erlang/OTP < 20.0 in which_con…
Browse files Browse the repository at this point in the history
…nections/1
  • Loading branch information
Ledest committed May 8, 2024
1 parent 934c3c5 commit 97456b9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/otpbp_diameter_service.erl
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ which_connections([SvcName|Services], Acc) ->
which_connections(SvcName) ->
case ets:lookup(diameter_service, SvcName) of
[S] when element(1, S) =:= state ->
case element(case element(8, S) of
M when not M; is_pid(M) -> 6;
_ -> 9 % OTP < 20.0
end,
S) of
case element(6, S) of
{PT, _, _} -> connections_info(element(5, S), PT);
_ -> []
end;
Expand Down

0 comments on commit 97456b9

Please sign in to comment.