essobedo commented on code in PR #9652:
URL: https://github.com/apache/camel/pull/9652#discussion_r1149149167


##########
test-infra/camel-test-infra-zookeeper/src/test/java/org/apache/camel/test/infra/zookeeper/services/ZooKeeperContainer.java:
##########
@@ -23,7 +23,12 @@
 import org.testcontainers.containers.wait.strategy.Wait;
 
 public class ZooKeeperContainer extends GenericContainer {
-    public static final String CONTAINER_IMAGE = "zookeeper:3.5";
+    if (arch == ppc64le) {
+        public static final String CONTAINER_IMAGE = 
"icr.io/ppc64le-oss/zookeeper-ppc64le:v3.8.0-bv"
+    } else {
+        public static final String CONTAINER_IMAGE = "zookeeper:3.5";
+    }
+    

Review Comment:
   I'm not sure that it can compile, maybe you meant: 
   
   `public static final String CONTAINER_IMAGE = arch == ppc64le ? 
"icr.io/ppc64le-oss/zookeeper-ppc64le:v3.8.0-bv" : "zookeeper:3.5";`
   
   or 
   ```
      public static final String CONTAINER_IMAGE;
       if (arch == ppc64le) {
           CONTAINER_IMAGE = "icr.io/ppc64le-oss/zookeeper-ppc64le:v3.8.0-bv"
       } else {
           CONTAINER_IMAGE = "zookeeper:3.5";
       }
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to