Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
lpgauth committed Mar 18, 2024
1 parent cb1880d commit debc5e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/marina_ring.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
{marina_ring_utils, lookup, 1}
]).

-dialyzer({nowarn_function, lookup/1}).

-export([
build/1,
lookup/1
Expand Down Expand Up @@ -36,4 +38,4 @@ ranges([], LastToken, Acc) ->
[{_Range, HostId} | _] = Ranges = lists:reverse(Acc),
Ranges ++ [{{LastToken, undefined}, HostId}];
ranges([{Token, HostId} | T], LastToken, Acc) ->
ranges(T, Token, [{{LastToken, Token}, HostId} | Acc]).
ranges(T, Token, [{{LastToken, Token}, HostId} | Acc]).

0 comments on commit debc5e9

Please sign in to comment.