Skip to content

Commit 0ddd0f1

Browse files
minor change
1 parent 96118e6 commit 0ddd0f1

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -822,10 +822,12 @@ private void createLoadBalancer() throws Exception {
822822
lbMap.put("clusterName", domainMap.get("clusterName"));
823823

824824
loadBalancer = (String) lbMap.get("loadBalancer");
825-
ingressPerDomain = ((Boolean) domainMap.get("ingressPerDomain")).booleanValue();
826-
logger.info("Forr this domain loadBalancer is: " + loadBalaner
827-
+ " ingressPerDomain is: " + ingressPerDomain);
828-
825+
ingressPerDomain = ((Boolean) lbMap.get("ingressPerDomain")).booleanValue();
826+
logger.info(
827+
"For this domain loadBalancer is: "
828+
+ loadBalancer
829+
+ " ingressPerDomain is: "
830+
+ ingressPerDomain);
829831

830832
if (loadBalancer.equals("TRAEFIK") && !ingressPerDomain) {
831833
lbMap.put("name", "traefik-hostrouting-" + domainUid);

integration-tests/src/test/java/oracle/kubernetes/operator/utils/LoadBalancer.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ public LoadBalancer(Map lbMap) throws Exception {
3636

3737
if (lbMap.get("ingressPerDomain") == null
3838
|| !((Boolean) lbMap.get("ingressPerDomain")).booleanValue()) {
39-
logger.info("Is going to createTraefikHostRouting");
40-
createTraefikHostRouting();
39+
logger.info("Is going to createTraefikHostRouting");
40+
createTraefikHostRouting();
4141
}
4242

4343
if (lbMap.get("ingressPerDomain") != null
44-
&& ((Boolean) lbMap.get("ingressPerDomain")).booleanValue()){
44+
&& ((Boolean) lbMap.get("ingressPerDomain")).booleanValue()) {
4545
logger.info("Is going to createTraefikIngressPerDomain");
46-
createTraefikIngressPerDomain();
47-
}
46+
createTraefikIngressPerDomain();
47+
}
4848
}
4949
}
5050

0 commit comments

Comments
 (0)