[
https://issues.apache.org/jira/browse/LIBCLOUD-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239622#comment-13239622
]
Jerry Chen commented on LIBCLOUD-175:
-------------------------------------
Thanks for reporting the issue. This appears to be a regression involving the
disappearance of _to_node() from the Linode compute driver. Your patch is a
good start but will fail when the list is empty -- one of us will dig up the
original method and reinstate it.
> Linode driver returns a list of nodes instead of a single node in create_node
> -----------------------------------------------------------------------------
>
> Key: LIBCLOUD-175
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-175
> Project: Libcloud
> Issue Type: Bug
> Components: Compute
> Affects Versions: 0.8.0
> Environment: n/a
> Reporter: Jouke Waleson
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In computer/drivers/linode.py, the return statement for the line of the
> create_node method should be:
> < return self._to_nodes(data)
> ---
> > return self._to_nodes(data)[0]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira