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

Support set the limit when list resources by source work client #128

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

skeeey
Copy link
Contributor

@skeeey skeeey commented Jun 14, 2024

No description provided.

@skeeey
Copy link
Contributor Author

skeeey commented Jun 14, 2024

/cc @clyang82 @machi1990

@skeeey
Copy link
Contributor Author

skeeey commented Jun 14, 2024

/hold

@skeeey skeeey changed the title Remove the default limit when list resources by source work client Support set the limit when list resources by source work client Jun 14, 2024
@skeeey
Copy link
Contributor Author

skeeey commented Jun 14, 2024

/unhold

@machi1990
Copy link
Contributor

lgtm

This should get us going with our use case.

apiRequest := m.apiClient.DefaultApi.ApiMaestroV1ResourceBundlesGet(context.Background()).
Search(fmt.Sprintf("source = '%s'", m.sourceID))
Search(fmt.Sprintf("source = '%s'", m.sourceID)).
Page(1).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see other people wanting to configure this as well - but currently the opts doesn't have it but rather a continue field. But it's something to keep in mind on how it could be supported later on.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a TODO for this

@clyang82
Copy link
Contributor

/ok-to-test

@clyang82
Copy link
Contributor

/retest

@clyang82 clyang82 merged commit f31e7b4 into openshift-online:main Jun 14, 2024
5 checks passed
@skeeey skeeey deleted the ulimit branch June 19, 2024 01:30
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.

3 participants