rhtyd commented on a change in pull request #2793: Destroyvm also removes
volumes
URL: https://github.com/apache/cloudstack/pull/2793#discussion_r211890922
##########
File path: server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
##########
@@ -1849,6 +1849,14 @@ private void validateRootVolumeDetachAttach(VolumeVO
volume, UserVmVO vm) {
}
}
+ @ActionEvent(eventType = EventTypes.EVENT_VOLUME_DETACH, eventDescription
= "detaching volume")
+ public Volume detachVolumeViaDestroyVM(long vmId, long volumeId) {
+
Review comment:
Extra new line can be removed here and other places.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services