diff --git a/jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/api/util/KubernetesResourceUtil.java b/jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/api/util/KubernetesResourceUtil.java index 2daf365656..60c5449ec1 100644 --- a/jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/api/util/KubernetesResourceUtil.java +++ b/jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/api/util/KubernetesResourceUtil.java @@ -630,7 +630,7 @@ private static Map mergeMapsAndRemoveEmptyStrings(Map containers = podSpec.getContainers() != null ? podSpec.getContainers() : Collections.emptyList(); + List containers = podSpec.getContainers() != null ? podSpec.getContainers() : Collections.emptyList(); for (Container container : containers) { if (StringUtils.isNotBlank(container.getImage())) { return false;