morhidi commented on code in PR #560:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/560#discussion_r1156452579


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/EventUtils.java:
##########
@@ -104,8 +104,12 @@ public static boolean createOrUpdateEvent(
                             .withNamespace(target.getMetadata().getNamespace())
                             .endMetadata()
                             .build();
-            client.resource(event).createOrReplace();
+
+            var ev = client.resource(event).createOrReplace();
+            var metadata = event.getMetadata();

Review Comment:
   There's no need for this extra local env variable.



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