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

[06/11] libcloud git commit: Accessing blob storage in alternate cloud environments.

Accessing blob storage in alternate cloud environments.


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

Branch: refs/heads/trunk
Commit: f33345cc00d1d2feeea5c6f680160104a8cc5bd1
Parents: bbd6d13
Author: Lucas Di Pentima <ld...@veritasgenetics.com>
Authored: Wed Sep 13 12:32:16 2017 -0300
Committer: Lucas Di Pentima <ld...@veritasgenetics.com>
Committed: Wed Sep 13 12:32:16 2017 -0300

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/f33345cc/libcloud/compute/drivers/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index ec71af4..f7e8a1b 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -538,9 +538,10 @@ class AzureNodeDriver(NodeDriver):
             n = 0
             while True:
                 try:
-                    instance_vhd = "https://%s.blob.core.windows.net" \
+                    instance_vhd = "https://%s.blob%s" \
                                    "/%s/%s-os_%i.vhd" \
                                    % (ex_storage_account,
+                                      self.connection.storage_suffix,
                                       ex_blob_container,
                                       name,
                                       n)