You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/08/08 15:18:15 UTC

[GitHub] [flink-kubernetes-operator] gyfora commented on a diff in pull request #340: [FLINK-28845] Do not ignore initialSavepointPath if first deploy fails completely

gyfora commented on code in PR #340:
URL: https://github.com/apache/flink-kubernetes-operator/pull/340#discussion_r940364768


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/deployment/AbstractDeploymentObserver.java:
##########
@@ -262,9 +264,6 @@ private void onMissingDeployment(FlinkDeployment deployment) {
      */
     private void checkIfAlreadyUpgraded(FlinkDeployment flinkDep, Context<?> context) {
         var status = flinkDep.getStatus();
-        if (status.getReconciliationStatus().isFirstDeployment()) {

Review Comment:
   This check was moved out to the beginning of the observe logic so no need to duplicate it here



-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org