Repository: libcloud Updated Branches: refs/heads/trunk 7695cf270 -> a29f8fba6
Fix test for 2.6 Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/bcd711fb Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/bcd711fb Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/bcd711fb Branch: refs/heads/trunk Commit: bcd711fb50103a9222daf87f38a8ac5583734c57 Parents: 30965d7 Author: Allard Hoeve <[email protected]> Authored: Fri Sep 23 11:38:41 2016 +0200 Committer: Anthony Shaw <[email protected]> Committed: Mon Sep 26 14:51:56 2016 +1000 ---------------------------------------------------------------------- libcloud/compute/drivers/openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/bcd711fb/libcloud/compute/drivers/openstack.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/openstack.py b/libcloud/compute/drivers/openstack.py index d1c3cbd..c93cea2 100644 --- a/libcloud/compute/drivers/openstack.py +++ b/libcloud/compute/drivers/openstack.py @@ -2427,7 +2427,7 @@ class OpenStack_1_1_NodeDriver(OpenStackNodeDriver): :param str action: the action to call :return `bool`: a boolean that indicates success """ - uri = '/servers/{}/action'.format(node.id) + uri = '/servers/{node_id}/action'.format(node_id=node.id) resp = self.connection.request(uri, method='POST', data={action: None}) return resp.status == httplib.ACCEPTED
