Douglas Schilling Landgraf has posted comments on this change.

Change subject: HostGeneralModel: improve "node has upgrade" logic
......................................................................


Patch Set 6: (1 inline comment)

....................................................
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
Line 674:             String nodeVersion[] = nodeInfo[1].trim().split("\\."); 
//$NON-NLS-1$
Line 675:             String isoVersion[] = iso.getValue().trim().split("\\."); 
//$NON-NLS-1$
Line 676: 
Line 677:             // We support only upgrade with the same major version
Line 678:             if (Integer.parseInt(isoVersion[0]) == 
Integer.parseInt(nodeVersion[0])) {
could you please clarify  not use rpmversion?
Line 679:                 // isoVersion minor or build should be higher then 
node
Line 680:                 if (Integer.parseInt(isoVersion[1]) > 
Integer.parseInt(nodeVersion[1]) ||
Line 681:                        Integer.parseInt(isoVersion[2]) > 
Integer.parseInt(nodeVersion[2])) {
Line 682:                     alert = true;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I49c74d3d0d92c74848e0c175095610b6e6b5a88e
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Alexander Wels <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to