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 2015/05/22 17:31:01 UTC

[4/5] libcloud git commit: Fixed Cloudwatt attach volume with 'auto' was not allowed

Fixed Cloudwatt attach volume with 'auto' was not allowed

Set default value to None, for device auto-assignment.

Signed-off-by: Tomaz Muraus <to...@apache.org>


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

Branch: refs/heads/trunk
Commit: e051b21c928431c8980d14b06a6e58e253c88fbf
Parents: 72876fe
Author: ZuluPro <mo...@hotmail.com>
Authored: Tue May 19 00:31:53 2015 -0400
Committer: Tomaz Muraus <to...@apache.org>
Committed: Fri May 22 17:22:01 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e051b21c/libcloud/compute/drivers/cloudwatt.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudwatt.py b/libcloud/compute/drivers/cloudwatt.py
index 2fd93c8..fe256f7 100644
--- a/libcloud/compute/drivers/cloudwatt.py
+++ b/libcloud/compute/drivers/cloudwatt.py
@@ -141,6 +141,10 @@ class CloudwattNodeDriver(OpenStack_1_1_NodeDriver):
             **kwargs
         )
 
+    def attach_volume(self, node, volume, device=None):
+        return super(CloudwattNodeDriver, self)\
+            .attach_volume(node, volume, device)
+
     def _ex_connection_class_kwargs(self):
         """
         Includes ``tenant_id`` in Connection.