You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/04/21 22:12:40 UTC

[3/9] libcloud git commit: Explicit host provided to AzureBlobsStorageDriver needs to include storage account.

Explicit host provided to AzureBlobsStorageDriver needs to include storage account.


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

Branch: refs/heads/trunk
Commit: e1cc5c7ad796645d2e5688acb1fd28059140f841
Parents: 37e709c
Author: Peter Amstutz <pe...@curoverse.com>
Authored: Fri Jan 6 11:08:25 2017 -0500
Committer: Peter Amstutz <pe...@curoverse.com>
Committed: Thu Apr 20 14:46:22 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e1cc5c7a/libcloud/compute/drivers/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index d261d20..6fb5684 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -1340,7 +1340,7 @@ class AzureNodeDriver(NodeDriver):
                                                     storageAccount)
             blobdriver = AzureBlobsStorageDriver(storageAccount,
                                                  keys["key1"],
-                                                 host="blob%s" % (self.connection.storage_suffix))
+                                                 host="%s.blob%s" % (storageAccount, self.connection.storage_suffix))
             blobdriver.delete_object(blobdriver.get_object(blobContainer,
                                                            blob))
             return True