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

[GitHub] [flink-kubernetes-operator] gyfora commented on a change in pull request #110: [FLINK-26836] Add sanity check for state.savepoints.dir when using savepoint upgrade mode

gyfora commented on a change in pull request #110:
URL: https://github.com/apache/flink-kubernetes-operator/pull/110#discussion_r834426653



##########
File path: flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/validation/DefaultDeploymentValidator.java
##########
@@ -146,6 +148,22 @@
             return Optional.of("Job could not be upgraded with last-state while HA disabled");
         }
 
+        if (StringUtils.isNullOrWhitespaceOnly(
+                Configuration.fromMap(confMap)

Review comment:
       We could move `Configuration.fromMap(confMap)` to a variable and reuse in this method.




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

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