Skip to content

Commit

Permalink
storage: Pass Max Keys to backend db for prefix_search
Browse files Browse the repository at this point in the history
  • Loading branch information
windkit committed Aug 9, 2017
1 parent e13bb64 commit 790283c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/leo_storage/src/leo_storage_handler_object.erl
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ prefix_search(ParentDir, Marker, MaxKeys) ->
end,

case catch leo_object_storage_api:fetch_by_key(
ParentDir, Fun) of
ParentDir, Fun, MaxKeys) of
{'EXIT', Cause} when is_tuple(Cause) ->
{error, element(1, Cause)};
{'EXIT', Cause} ->
Expand Down

0 comments on commit 790283c

Please sign in to comment.