Merge "Fix retype return value in volume driver base class"

This commit is contained in:
Jenkins 2015-03-19 18:05:42 +00:00 committed by Gerrit Code Review
commit 552878d554
1 changed files with 1 additions and 2 deletions

View File

@ -1216,8 +1216,7 @@ class VolumeDriver(ConsistencyGroupVD, TransferVD, ManageableVD, ExtendVD,
raise NotImplementedError(msg)
def retype(self, context, volume, new_type, diff, host):
msg = _("Retype existing volume not implemented.")
raise NotImplementedError(msg)
return False, None
def reenable_replication(self, context, volume):
msg = _("sync_replica not implemented.")