Fix a bug - action should only be a path, not the whole url.

Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/dce96e8d
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/dce96e8d
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/dce96e8d

Branch: refs/heads/trunk
Commit: dce96e8d2f3fa2c545675e41e1cd0741fa7890d9
Parents: 013afd6
Author: Tomaz Muraus <[email protected]>
Authored: Sun Apr 5 13:27:32 2015 +0200
Committer: Tomaz Muraus <[email protected]>
Committed: Sun Apr 5 13:27:32 2015 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/azure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/dce96e8d/libcloud/compute/drivers/azure.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure.py 
b/libcloud/compute/drivers/azure.py
index f0b6552..4b2985b 100644
--- a/libcloud/compute/drivers/azure.py
+++ b/libcloud/compute/drivers/azure.py
@@ -1276,7 +1276,7 @@ class AzureNodeDriver(NodeDriver):
     def _perform_request(self, request):
         try:
             return self.connection.request(
-                action="https://%s%s"; % (request.host, request.path),
+                action=request.path,
                 data=request.body,
                 headers=request.headers,
                 method=request.method

Reply via email to