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 edge gateway list retrieval #364

Merged
merged 6 commits into from
Mar 23, 2021

Conversation

dataclouder
Copy link
Contributor

Fix Issue #363
Edge gateway retrieval was cut at the first 25 items.

Giuseppe Maxia added 3 commits March 23, 2021 10:23
Signed-off-by: Giuseppe Maxia <[email protected]>
Deprecate method vdc.GetEdgeGatewayRecordsType

Signed-off-by: Giuseppe Maxia <[email protected]>
replaced with vdc.QueryEdgeGatewayList

Signed-off-by: Giuseppe Maxia <[email protected]>
Giuseppe Maxia added 2 commits March 23, 2021 10:38
Signed-off-by: Giuseppe Maxia <[email protected]>
@dataclouder dataclouder marked this pull request as ready for review March 23, 2021 09:42
@dataclouder dataclouder changed the title Fix ege gateway list retrieval Fix edge gateway list retrieval Mar 23, 2021
Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

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

Why a new function as opposed to fixing the existing one to return all items?

@dataclouder
Copy link
Contributor Author

Why a new function as opposed to fixing the existing one to return all items?

It was a good opportunity to normalize the name with the convention that a query returning a list should be called Query+EntityType+List

Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

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

LGTM!

BTW, how many usages of the old function do we have in the Terraform project?

Signed-off-by: Giuseppe Maxia <[email protected]>
Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

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

Thanks

@dataclouder
Copy link
Contributor Author

dataclouder commented Mar 23, 2021

BTW, how many usages of the old function do we have in the Terraform project?

One. And it was changed.
But the old function was used indirectly through GetEdgeGatewayByName and GetEdgeGatewayById

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

Successfully merging this pull request may close these issues.

4 participants