gyfora commented on code in PR #165:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/165#discussion_r848156847
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/deployment/ApplicationObserver.java:
##########
@@ -144,4 +148,22 @@ private void observeSavepointStatus(
logger.info("Savepoint status updated with latest completed savepoint
info");
savepointInfo.updateLastSavepoint(savepointFetchResult.getSavepoint());
}
+
+ @Override
+ protected void updateStableSpec(FlinkDeployment deployment) {
+ FlinkDeploymentStatus status = deployment.getStatus();
+ ReconciliationStatus reconciliationStatus =
status.getReconciliationStatus();
+
+ // The last reconciled spec is already considered stable, nothing to
do...
+ if (isCurrentSpecStable(reconciliationStatus)) {
Review Comment:
fixed
--
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]