Skip to content

Commit 591d6c5

Browse files
Mitigate pagination issue listing blobs (#4483)
Pagination doesn't happen properly with a filter.
1 parent 0833605 commit 591d6c5

File tree

1 file changed

+1
-2
lines changed
  • src/clusterfuzz/_internal/google_cloud_utils

1 file changed

+1
-2
lines changed

src/clusterfuzz/_internal/google_cloud_utils/storage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,8 +1077,7 @@ def get_blobs(cloud_storage_path, recursive=True):
10771077
exception_types=_TRANSIENT_ERRORS)
10781078
def list_blobs(cloud_storage_path, recursive=True):
10791079
"""Return blob names under the given cloud storage path."""
1080-
for blob in _provider().list_blobs(
1081-
cloud_storage_path, recursive=recursive, names_only=True):
1080+
for blob in _provider().list_blobs(cloud_storage_path, recursive=recursive):
10821081
yield blob['name']
10831082

10841083

0 commit comments

Comments
 (0)