mxm commented on code in PR #462:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/462#discussion_r1037962140
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/FlinkUtils.java:
##########
@@ -147,12 +148,7 @@ public static boolean isHaMetadataAvailable(
.list()
.getItems();
- return configMaps.stream()
- .anyMatch(
- map ->
- !map.isMarkedForDeletion()
- && map.getData() != null
- && !map.getData().isEmpty());
+ return
configMaps.stream().anyMatch(Predicate.not(ConfigMap::isMarkedForDeletion));
Review Comment:
In case somebody wonders, this change was included in
45a280aa2d6824ded3a03b503dc33208f159f5d9.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]