kornys commented on code in PR #1011:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/1011#discussion_r2268759304


##########
examples/kubernetes-client-examples/src/main/java/org/apache/flink/examples/Basic.java:
##########
@@ -68,7 +68,11 @@ public static void main(String[] args) {
                                 .build());
 
         try (KubernetesClient kubernetesClient = new 
KubernetesClientBuilder().build()) {
-            kubernetesClient.resource(flinkDeployment).createOrReplace();
+            if (kubernetesClient.resource(flinkDeployment).get() == null) {

Review Comment:
   Thanks for the suggestion



-- 
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]

Reply via email to