mirror of https://github.com/apache/cloudstack.git
Do remove volume only on expunge (#5213)
This commit is contained in:
parent
96c9c5a5e2
commit
f7fdc8a974
|
|
@ -1555,9 +1555,9 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
|
|||
s_logger.warn("Failed to expunge volume: " + volumeId);
|
||||
return null;
|
||||
}
|
||||
removeVolume(volume.getId());
|
||||
}
|
||||
|
||||
removeVolume(volume.getId());
|
||||
return volume;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue