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


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkStateSnapshotController.java:
##########
@@ -89,6 +89,12 @@ public UpdateControl<FlinkStateSnapshot> reconcile(
     @Override
     public DeleteControl cleanup(
             FlinkStateSnapshot flinkStateSnapshot, Context<FlinkStateSnapshot> 
josdkContext) {
+        if (flinkStateSnapshot.getStatus() == null) {
+            LOG.info(
+                    "Snapshot {} has no status, was never reconciled. Removing 
finalizer.",
+                    flinkStateSnapshot.getMetadata().getName());

Review Comment:
   I don't think we need this log, simply return delete



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