Skip to content

Commit

Permalink
Mitigate pagination issue listing blobs (#4483)
Browse files Browse the repository at this point in the history
Pagination doesn't happen properly with a filter.
  • Loading branch information
jonathanmetzman committed Jan 14, 2025
1 parent 1c132f4 commit 3432362
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/clusterfuzz/_internal/google_cloud_utils/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1080,8 +1080,7 @@ def get_blobs(cloud_storage_path, recursive=True):
exception_types=_TRANSIENT_ERRORS)
def list_blobs(cloud_storage_path, recursive=True):
"""Return blob names under the given cloud storage path."""
for blob in _provider().list_blobs(
cloud_storage_path, recursive=recursive, names_only=True):
for blob in _provider().list_blobs(cloud_storage_path, recursive=recursive):
yield blob['name']


Expand Down

0 comments on commit 3432362

Please sign in to comment.