From 7ef0f5507d3b0debe4cfc7fb3bcada39c069e33f Mon Sep 17 00:00:00 2001 From: Damodar Date: Thu, 4 Dec 2014 12:32:37 +0530 Subject: [PATCH] Attach volume events are not correctly shown in events. Signed-off-by: Koushik Das --- server/src/com/cloud/storage/VolumeApiServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/storage/VolumeApiServiceImpl.java b/server/src/com/cloud/storage/VolumeApiServiceImpl.java index 92d84d59d2c..9deaae22917 100644 --- a/server/src/com/cloud/storage/VolumeApiServiceImpl.java +++ b/server/src/com/cloud/storage/VolumeApiServiceImpl.java @@ -1164,6 +1164,7 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic } @Override + @ActionEvent(eventType = EventTypes.EVENT_VOLUME_ATTACH, eventDescription = "attaching volume", async = true) public Volume attachVolumeToVM(AttachVolumeCmd command) { return attachVolumeToVM(command.getVirtualMachineId(), command.getId(), command.getDeviceId()); } @@ -1238,7 +1239,6 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic return newVol; } - @ActionEvent(eventType = EventTypes.EVENT_VOLUME_ATTACH, eventDescription = "attaching volume", async = true) public Volume attachVolumeToVM(Long vmId, Long volumeId, Long deviceId) { Account caller = CallContext.current().getCallingAccount();