mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Attach volume events are not correctly shown in events.
Signed-off-by: Koushik Das <koushik@apache.org>
This commit is contained in:
parent
608b0c5a24
commit
7b8fe0c8cd
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user