Trival Change: Remove redundant code in instance delete
Change-Id: I92e57aefeb909297cf3d4f566a3308aa9312bb02
This commit is contained in:
parent
0e5aa1b5e1
commit
0be00cd58a
|
@ -1372,9 +1372,6 @@ class LibvirtDriver(driver.ComputeDriver):
|
|||
# this would be unset
|
||||
continue
|
||||
|
||||
disk_dev = vol['mount_device']
|
||||
if disk_dev is not None:
|
||||
disk_dev = disk_dev.rpartition("/")[2]
|
||||
try:
|
||||
self._disconnect_volume(context, connection_info, instance)
|
||||
except Exception as exc:
|
||||
|
|
Loading…
Reference in New Issue