File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator/utils Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -822,10 +822,12 @@ private void createLoadBalancer() throws Exception {
822
822
lbMap .put ("clusterName" , domainMap .get ("clusterName" ));
823
823
824
824
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 );
829
831
830
832
if (loadBalancer .equals ("TRAEFIK" ) && !ingressPerDomain ) {
831
833
lbMap .put ("name" , "traefik-hostrouting-" + domainUid );
Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ public LoadBalancer(Map lbMap) throws Exception {
36
36
37
37
if (lbMap .get ("ingressPerDomain" ) == null
38
38
|| !((Boolean ) lbMap .get ("ingressPerDomain" )).booleanValue ()) {
39
- logger .info ("Is going to createTraefikHostRouting" );
40
- createTraefikHostRouting ();
39
+ logger .info ("Is going to createTraefikHostRouting" );
40
+ createTraefikHostRouting ();
41
41
}
42
42
43
43
if (lbMap .get ("ingressPerDomain" ) != null
44
- && ((Boolean ) lbMap .get ("ingressPerDomain" )).booleanValue ()){
44
+ && ((Boolean ) lbMap .get ("ingressPerDomain" )).booleanValue ()) {
45
45
logger .info ("Is going to createTraefikIngressPerDomain" );
46
- createTraefikIngressPerDomain ();
47
- }
46
+ createTraefikIngressPerDomain ();
47
+ }
48
48
}
49
49
}
50
50
You can’t perform that action at this time.
0 commit comments