mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2885: show cpuNumber and cpuSpeed on VM Statistics page
This commit is contained in:
parent
779763fdfd
commit
0dd45513e3
|
|
@ -123,6 +123,8 @@ public class UserVmJoinDaoImpl extends GenericDaoBase<UserVmJoinVO, Long> implem
|
|||
if (details.contains(VMDetails.all) || details.contains(VMDetails.servoff)) {
|
||||
userVmResponse.setServiceOfferingId(userVm.getServiceOfferingUuid());
|
||||
userVmResponse.setServiceOfferingName(userVm.getServiceOfferingName());
|
||||
}
|
||||
if (details.contains(VMDetails.all) || details.contains(VMDetails.servoff) || details.contains(VMDetails.stats)) {
|
||||
userVmResponse.setCpuNumber(userVm.getCpu());
|
||||
userVmResponse.setCpuSpeed(userVm.getSpeed());
|
||||
userVmResponse.setMemory(userVm.getRamSize());
|
||||
|
|
|
|||
Loading…
Reference in New Issue