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

Fixes #1455, added location filtering for digitalOcean driver #1456

Merged
merged 1 commit into from May 3, 2020

Conversation

RobertH1993
Copy link

Fix issue 1455

Description

Added location filtering for list_sizes() in the digitalOcean driver. Now its compliant with the documentation. See issue #1455 for more info.

Status

  • done, ready for review

Checklist (tick everything that applies)

@Kami
Copy link
Member

Kami commented May 3, 2020

Thanks for the contribution.

Yes if driver complies with the base API and implements all the functionality, then it should also implement location argument for the list_sizes() method.

If possible, it's preferred to perform filtering on the API size, but if that's not supported by the provider API, doing client side filtering (as in your PR) is fine as well.

@asfgit asfgit merged commit db1c017 into apache:trunk May 3, 2020
@Kami
Copy link
Member

Kami commented May 3, 2020

I've added a test case (47d666f, 0aed558) and merged it into trunk.

Thanks again for the contribution and next time please ensure your changes also include corresponding test cases.

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.

None yet

3 participants