cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kous...@apache.org
Subject git commit: updated refs/heads/master to 7b8fe0c
Date Thu, 04 Dec 2014 14:14:52 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 608b0c5a2 -> 7b8fe0c8c


Attach volume events are not correctly shown in events.

Signed-off-by: Koushik Das <koushik@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7b8fe0c8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7b8fe0c8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7b8fe0c8

Branch: refs/heads/master
Commit: 7b8fe0c8cd9716f85108856bedfe24d0235506b5
Parents: 608b0c5
Author: Damodar <damoder.reddy@citrix.com>
Authored: Thu Dec 4 12:32:37 2014 +0530
Committer: Koushik Das <koushik@apache.org>
Committed: Thu Dec 4 19:31:03 2014 +0530

----------------------------------------------------------------------
 server/src/com/cloud/storage/VolumeApiServiceImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7b8fe0c8/server/src/com/cloud/storage/VolumeApiServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/VolumeApiServiceImpl.java b/server/src/com/cloud/storage/VolumeApiServiceImpl.java
index 785a95e..4343c4b 100644
--- a/server/src/com/cloud/storage/VolumeApiServiceImpl.java
+++ b/server/src/com/cloud/storage/VolumeApiServiceImpl.java
@@ -1157,6 +1157,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());
     }
@@ -1231,7 +1232,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();
 


Mime
View raw message