Nexenta: Use base VolumeDriver migrate_volume
NotImplemented is a constant for boolean comparison, where this code actually meant NotImplementedError(). But this method is not needed, it should just use the base migrate_volume() which returns (False, None) rather than raising this exception. Change-Id: I02f2dfb32a90b702b4017d5c9a47334732ff9f1e
This commit is contained in:
parent
e030aae873
commit
9ef18b4d31
@ -270,9 +270,6 @@ class NexentaEdgeNBDDriver(driver.VolumeDriver):
|
||||
with excutils.save_and_reraise_exception():
|
||||
LOG.exception(_LE('Error creating cloned volume'))
|
||||
|
||||
def migrate_volume(self, ctxt, volume, host, thin=False, mirror_count=0):
|
||||
raise NotImplementedError
|
||||
|
||||
def get_volume_stats(self, refresh=False):
|
||||
LOG.debug('Get volume stats')
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user