mirror of https://github.com/apache/cloudstack.git
bug 5905: Adding deviceId tag to the ListVolumes command when the volume is attached. status 5905: closed fixed
This commit is contained in:
parent
895fb85162
commit
6ae72df46a
|
|
@ -185,8 +185,9 @@ public class ListVolumesCmd extends BaseCmd{
|
|||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.VIRTUAL_MACHINE_ID.getName(), vm.getId()));
|
||||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.VIRTUAL_MACHINE_NAME.getName(), vm.getName()));
|
||||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.VIRTUAL_MACHINE_DISPLAYNAME.getName(), vm.getName()));
|
||||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.VIRTUAL_MACHINE_STATE.getName(), vm.getState()));
|
||||
}
|
||||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.VIRTUAL_MACHINE_STATE.getName(), vm.getState()));
|
||||
volumeData.add(new Pair<String, Object>(BaseCmd.Properties.DEVICE_ID.getName(), volume.getDeviceId()));
|
||||
}
|
||||
|
||||
// Show the virtual size of the volume
|
||||
long virtualSizeInBytes = volume.getSize();
|
||||
|
|
|
|||
Loading…
Reference in New Issue