Skip to content

Commit

Permalink
chore: spotless apply
Browse files Browse the repository at this point in the history
  • Loading branch information
jsenko committed Oct 29, 2024
1 parent 8e0df46 commit a5bb212
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ private static void mergeDeploymentPodTemplateSpec(
}
var targetPorts = c.getPorts();
ports.forEach(sourcePort -> {
if (!targetPorts.stream().anyMatch(targetPort -> sourcePort.getName().equals(targetPort.getName()))) {
if (!targetPorts.stream()
.anyMatch(targetPort -> sourcePort.getName().equals(targetPort.getName()))) {
targetPorts.add(sourcePort);
}
});
Expand Down

0 comments on commit a5bb212

Please sign in to comment.