Skip to content

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.

@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

@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