gyfora commented on code in PR #1197:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/1197#discussion_r4017298505
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/EventUtils.java:
##########
@@ -271,7 +271,7 @@ private static boolean labelCheck(
private static Optional<Event> createOrReplaceEvent(KubernetesClient
client, Event event) {
try {
- Event createdEvent = client.resource(event).createOrReplace();
+ Event createdEvent = client.resource(event).createOr(r ->
r.unlock().update());
Review Comment:
why not `NonDeletingOperation::update`?
--
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]