
Daniel Erez has submitted this change and it was merged. Change subject: webadmin: Rest API and admin portal report inconsistent RAM values for a Host (#826643) ...................................................................... webadmin: Rest API and admin portal report inconsistent RAM values for a Host (#826643) The amount of free memory for a host is different on the admin portal and the rest api statistics for a host. This patch fixes the computataion error on the uicommonweb code where division by 100 was being performed before multiplication by the used memory percentage. Change-Id: I6afd7d728dcd2a93f854f5bd47d0f8c6aad27e4b Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=826643 Signed-off-by: Ravi Nori <rnori@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java 1 file changed, 2 insertions(+), 3 deletions(-) Approvals: Daniel Erez: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/8856 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6afd7d728dcd2a93f854f5bd47d0f8c6aad27e4b Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ravi Nori <rnori@redhat.com> Gerrit-Reviewer: Alexey Chub <achub@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Einav Cohen <ecohen@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpastern@redhat.com> Gerrit-Reviewer: Ravi Nori <rnori@redhat.com>