DigitalOceanNodeDriver patch - v2 driver referenced object instead of response
Signed-off-by: Tomaz Muraus <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/c6c87440 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c6c87440 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c6c87440 Branch: refs/heads/trunk Commit: c6c8744007ebd512971bb5e9d5916e43e59feb8f Parents: 9baacf6 Author: jcastillo2nd <[email protected]> Authored: Thu May 28 15:49:21 2015 +0000 Committer: Tomaz Muraus <[email protected]> Committed: Sun Jun 14 18:05:58 2015 +0800 ---------------------------------------------------------------------- libcloud/compute/drivers/digitalocean.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/c6c87440/libcloud/compute/drivers/digitalocean.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/digitalocean.py b/libcloud/compute/drivers/digitalocean.py index 69b683d..0722748 100644 --- a/libcloud/compute/drivers/digitalocean.py +++ b/libcloud/compute/drivers/digitalocean.py @@ -353,7 +353,7 @@ class DigitalOcean_v2_NodeDriver(DigitalOcean_v2_BaseDriver, params['ssh_key_ids'] = ','.join(ex_ssh_key_ids) res = self.connection.request('/v2/droplets', - params=params, method='POST') + params=params, method='POST') data = res.object # TODO: Handle this in the response class
