Omer Frenkel has posted comments on this change.

Change subject: core: Fixed log for cluster unsupported emulated machine
......................................................................


Patch Set 2: Code-Review+1

(1 comment)

Roy, any comments?

http://gerrit.ovirt.org/#/c/32900/2/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VirtMonitoringStrategy.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VirtMonitoringStrategy.java:

Line 55:         if (!hostCompliesWithClusterEmulationMode(vds, vdsGroup) && 
vds.getStatus() != VDSStatus.NonOperational) {
Line 56: 
Line 57:             Map<String, String> customLogValues = new HashMap<>();
Line 58:             customLogValues.put("hostSupportedEmulatedMachines", 
vds.getSupportedEmulatedMachines());
Line 59:             if(vdsGroup.isDetectEmulatedMachine()) {
missing space after 'if' please use project formatter
Line 60:                 customLogValues.put("clusterEmulatedMachines", 
Config.<List<String>>getValue(ConfigValues.ClusterEmulatedMachines, 
vds.getVdsGroupCompatibilityVersion().getValue()).toString());
Line 61:                 vdsNonOperational(vds, 
NonOperationalReason.EMULATED_MACHINES_INCOMPATIBLE_WITH_CLUSTER_LEVEL, 
customLogValues);
Line 62:             } else {
Line 63:                 customLogValues.put("clusterEmulatedMachines", 
vdsGroup.getEmulatedMachine());


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I8397cd64364c98aa76818613dbe78ddef2391027
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eldan Shachar <eshac...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to