Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix recursive pagination bug #482

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

laidbackware
Copy link
Contributor

@laidbackware laidbackware commented Nov 10, 2023

The current pagination implementation doesn't work due to a recursive loop bug that was created in PR #469.

The request function contains a while loop which calls itself, triggers the while loop, and on and on.

The only way to implement correctly is to wrap the request function and have the while loop run outside of the request function.

This fix should be back ported to all legacy branches as it is version agnostic.

Signed-off-by: Matt Proud <[email protected]>
@laidbackware
Copy link
Contributor Author

@kaushiklele Can you review please. Let me know if you have any questions and we can talk on VMware Slack.

@laidbackware laidbackware changed the title fix recusrive paginaton bug fix recursive pagination bug Nov 14, 2023
@vmwclabot
Copy link
Member

@laidbackware, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <[email protected]> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants