lajith2006 commented on code in PR #749:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/749#discussion_r1446866102
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkDeploymentController.java:
##########
@@ -227,4 +235,28 @@ private boolean
validateDeployment(FlinkResourceContext<FlinkDeployment> ctx) {
}
return true;
}
+
+ private void setCRStatus(FlinkDeployment flinkApp) {
+ final List<Condition> conditions = new ArrayList<>();
+ FlinkDeploymentStatus deploymentStatus = flinkApp.getStatus();
+ switch (deploymentStatus.getJobManagerDeploymentStatus()) {
Review Comment:
Modified logic to update the conditions.
--
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]