Skip to content

@Added JoyentNodeDriver.ex_get_node()#421

Closed
ZuluPro wants to merge 2 commits intoapache:trunkfrom
ZuluPro:patch-3
Closed

@Added JoyentNodeDriver.ex_get_node()#421
ZuluPro wants to merge 2 commits intoapache:trunkfrom
ZuluPro:patch-3

Conversation

@ZuluPro
Copy link
Contributor

@ZuluPro ZuluPro commented Dec 24, 2014

Joyent didn't have a method for get only one Node.

Because I doesn't want to make a for loop for find a node, I added this method.
Error raising is better too with that, a real Joyent's error message is now raised.

Joyent didn't have a method for get only one Node.

Because I doesn't want to make a for loop for find a node, I added this method.
Error raising is better too with that, a real Joyent's error message is now raised.
Copy link
Member

Choose a reason for hiding this comment

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

Please use parenthesis around format string arguments - % (node.id)

@Kami
Copy link
Member

Kami commented Dec 24, 2014

Thanks.

Overall it looks good, but we need a test case for it and lint failure needs to be fixed - https://travis-ci.org/apache/libcloud/builds/45025149

@ZuluPro
Copy link
Contributor Author

ZuluPro commented Dec 25, 2014

I use my_machines_single.json for mock a single machine.

@asfgit asfgit closed this in 68a3461 Dec 26, 2014
@Kami
Copy link
Member

Kami commented Dec 26, 2014

Merged into trunk. Thanks.

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