]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix retype arguments in volume driver base class
authorJon Bernard <jobernar@redhat.com>
Fri, 6 Mar 2015 20:23:51 +0000 (15:23 -0500)
committerEric Harney <eharney@redhat.com>
Thu, 12 Mar 2015 16:09:27 +0000 (12:09 -0400)
Partial-Bug: #1430605

Change-Id: Ida0d0d7133d88501813460ecc920f3fbd738fcc5

cinder/volume/driver.py

index 16fd79caf351688e7fc9496fe50c90a2b549a5f5..ea0afe8c4b6069d8b39ba348f53eff4847ddf913 100644 (file)
@@ -1100,7 +1100,7 @@ class VolumeDriver(ConsistencyGroupVD, TransferVD, ManageableVD, ExtendVD,
         msg = _("Unmanage volume not implemented.")
         raise NotImplementedError(msg)
 
-    def retype(self, volume):
+    def retype(self, context, volume, new_type, diff, host):
         msg = _("Retype existing volume not implemented.")
         raise NotImplementedError(msg)