Skip to content

Commit

Permalink
set is_truncated correctly
Browse files Browse the repository at this point in the history
Sokution taken from jubos#85
  • Loading branch information
Jan Eike von Seggern committed Aug 26, 2015
1 parent fd5ca25 commit 91c9cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fakes3/sorted_object_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def list(options)
ms.common_prefixes << base_prefix + chunks[0] + delimiter
last_chunk = chunks[0]
else
is_truncated = true
ms.is_truncated = true
break
end
end
Expand All @@ -117,7 +117,7 @@ def list(options)
if count <= max_keys
ms.matches << s3_object
else
is_truncated = true
ms.is_truncated = true
break
end
end
Expand Down

0 comments on commit 91c9cfe

Please sign in to comment.