Piotr Kliczewski has uploaded a new change for review.

Change subject: webadmin: CPU type and CPU family swapped with each other
......................................................................

webadmin: CPU type and CPU family swapped with each other

Information about CPU type and family are swapped with each other in
general information host view.

Bug-Url: https://bugzilla.redhat.com/1028867
Change-Id: I916dc1ad361312ea326d54bd73e3b955c3df3fcd
Signed-off-by: pkliczewski <piotr.kliczew...@gmail.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/23573/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
index dc35949..2efa191 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
@@ -1062,8 +1062,8 @@
 
         setSpmPriorityValue(vds.getVdsSpmPriority());
         setActiveVms(vds.getVmActive());
-        setCpuName(vds.getCpuName() != null ? vds.getCpuName().getCpuName() : 
null);
-        setCpuType(vds.getCpuModel());
+        setCpuName(vds.getCpuModel());
+        setCpuType(vds.getCpuName() != null ? vds.getCpuName().getCpuName() : 
null);
         setNumberOfSockets(vds.getCpuSockets());
         setCoresPerSocket((vds.getCpuCores() != null && vds.getCpuSockets() != 
null)
                 ? vds.getCpuCores() / vds.getCpuSockets() : null);


-- 
To view, visit http://gerrit.ovirt.org/23573
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I916dc1ad361312ea326d54bd73e3b955c3df3fcd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczew...@gmail.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to