cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maneesha-p <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8800 : Improved the listVirtua...
Date Wed, 09 Sep 2015 12:18:04 GMT
Github user maneesha-p commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/780#discussion_r39034863
  
    --- Diff: plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
---
    @@ -4751,7 +4760,7 @@ private VirtualMachineGuestOsIdentifier translateGuestOsIdentifier(String
cpuArc
                                 }
                             }
                         }
    -                    vmResponseMap.put(name, new VmStatsEntry(Integer.parseInt(maxCpuUsage),
networkReadKBs, networkWriteKBs, Integer.parseInt(numberCPUs), "vm"));
    +                    vmResponseMap.put(name, new VmStatsEntry(Double.parseDouble(memkb)*1000,Double.parseDouble(guestMemusage)*1000,Double.parseDouble(memlimit)*1000,
Double.parseDouble(maxCpuUsage), networkReadKBs, networkWriteKBs, Integer.parseInt(numberCPUs),
"vm"));
    --- End diff --
    
    @karuturi  Incorporated the changes.Thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message