Repository: libcloud
Updated Branches:
  refs/heads/trunk 57fe73347 -> c7e81a5f6


FAM-928 renamings


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

Branch: refs/heads/trunk
Commit: 39feeebc4f03dde4cd32db20fe3bdc63310103be
Parents: 2ade41d
Author: mermoldy <s.ba...@scalr.com>
Authored: Wed May 31 16:00:51 2017 +0300
Committer: Anthony Shaw <anthonys...@apache.org>
Committed: Fri Aug 11 14:59:31 2017 +1000

----------------------------------------------------------------------
 libcloud/compute/drivers/azure_arm.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/39feeebc/libcloud/compute/drivers/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure_arm.py 
b/libcloud/compute/drivers/azure_arm.py
index d0de32f..bd36731 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -887,7 +887,7 @@ class AzureNodeDriver(NodeDriver):
         return [self._to_volume(volume) for volume in response.object['value']]
 
     def attach_volume(self, node, volume, ex_lun=None,
-                      ex_vhd_uri=None, ex_vhd_new=False, **ex_kwargs):
+                      ex_vhd_uri=None, ex_vhd_create=False, **ex_kwargs):
         """
         Attach a volume to node.
 
@@ -906,9 +906,9 @@ class AzureNodeDriver(NodeDriver):
             blob. (optional)
         :type ex_vhd_uri: ``str``
 
-        :param ex_vhd_new: Create a new VHD blob for unmanaged disk.
+        :param ex_vhd_create: Create a new VHD blob for unmanaged disk.
             (optional)
-        :type ex_vhd_new: ``bool``
+        :type ex_vhd_create: ``bool``
 
         :rtype: ``bool``
         """
@@ -930,7 +930,7 @@ class AzureNodeDriver(NodeDriver):
                 'name': volume.name,
                 'diskSizeGB': volume.size,
                 'lun': ex_lun,
-                'createOption': 'empty' if ex_vhd_new else 'attach',
+                'createOption': 'empty' if ex_vhd_create else 'attach',
                 'vhd': {'uri': ex_vhd_uri},
             }
         else:

Reply via email to