Skip to content

Commit

Permalink
[Storage] az storage container/blob list: Fix MemoryError (Azure#25915
Browse files Browse the repository at this point in the history
)
  • Loading branch information
evelyn-ys authored Mar 24, 2023
1 parent c02d631 commit 767e406
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def list_generator(pages, num_results):

# handle num results
if num_results is not None:
if num_results == len(result):
if num_results <= len(result):
break

page = list(next(pages))
Expand Down

0 comments on commit 767e406

Please sign in to comment.