Skip to content

Added location filter in list_nodes of CloudStack#737

Closed
schaubl wants to merge 1 commit into
apache:trunkfrom
schaubl:cloudstack-list_nodes_location_filter
Closed

Added location filter in list_nodes of CloudStack#737
schaubl wants to merge 1 commit into
apache:trunkfrom
schaubl:cloudstack-list_nodes_location_filter

Conversation

@schaubl

@schaubl schaubl commented Apr 6, 2016

Copy link
Copy Markdown
Contributor

No description provided.

return locations

def list_nodes(self, project=None):
def list_nodes(self, project=None, location=None):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It looks like we missed this while merging the original changes - project should really be prefixed with ex_ since it's not part of the standard API.

In any case, I'm fine with this for now.

@Kami

Kami commented Apr 6, 2016

Copy link
Copy Markdown
Member

Thanks.

As noted in the in-line comment, change looks good to me, but it would also be great if you can add a test case for it :)

@schaubl

schaubl commented Apr 6, 2016

Copy link
Copy Markdown
Contributor Author

Ok, I will add a test case.

@asfgit asfgit closed this in 2f777ca Apr 13, 2016
@Kami

Kami commented Apr 13, 2016

Copy link
Copy Markdown
Member

I merged this change into trunk.

Please follow up with tests as soon as you can.

Thanks!

@schaubl

schaubl commented Apr 13, 2016

Copy link
Copy Markdown
Contributor Author

@Kami: I added a test. Should I create a new PR since this one is already merged ?

@schaubl

schaubl commented Apr 15, 2016

Copy link
Copy Markdown
Contributor Author

@Kami I created a new PR for the test: #754

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