Skip to content

Commit

Permalink
Add missing function head to continue iteration in prefix-less list_g…
Browse files Browse the repository at this point in the history
…roup_keys
  • Loading branch information
Paul Henrich authored and jvoegele committed Apr 14, 2017
1 parent 1afd5df commit 5aa7117
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/riak_kv_group_keys.erl
Expand Up @@ -141,6 +141,8 @@ start_pos(Bucket, GroupParams = #group_params{prefix=Prefix, start_after=StartAf

next_pos(undefined, Bucket, GroupParams) ->
start_pos(Bucket, GroupParams);
next_pos({Bucket, PrevKey}, _Bucket, GroupParams = #group_params{prefix=undefined}) ->
next_pos_after_key(GroupParams, Bucket, PrevKey);
next_pos({Bucket, PrevKey}, _Bucket, GroupParams = #group_params{prefix=Prefix}) ->
case is_prefix(Prefix, PrevKey) of
true ->
Expand Down

0 comments on commit 5aa7117

Please sign in to comment.