Storage: ListBucketsForProjects pagination broken, causes infinite loop #14915
Labels
api: storage
Issues related to the Cloud Storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
What component of
google-cloud-cpp
is this related to?Storage
Describe the bug
Iterating over the result of ListBucketsForProjects repeats the first 1000 results forever.
To Reproduce Steps to reproduce the behavior:
This will print out the same 1000 bucket names in an infinite loop.
Expected behavior Program prints out 1001 bucket names and halts.
Operating system: Debian 6.1.106-3
What compiler and version are you using? Bazel
What version of
google-cloud-cpp
are you using? google-cloud-cpp-2.33.0The text was updated successfully, but these errors were encountered: