astefanutti commented on code in PR #3218:
URL: https://github.com/apache/camel-k/pull/3218#discussion_r853894806


##########
pkg/controller/kamelet/kamelet_controller.go:
##########
@@ -178,6 +178,9 @@ func (r *reconcileKamelet) Reconcile(ctx context.Context, 
request reconcile.Requ
                }
 
                if target != nil {
+                       // Update the metadata.generation to avoid conflicts 
with other reconcile operations.

Review Comment:
   That comment can be removed.



##########
pkg/controller/kameletbinding/kamelet_binding_controller.go:
##########
@@ -192,6 +192,9 @@ func (r *ReconcileKameletBinding) Reconcile(ctx 
context.Context, request reconci
                        }
 
                        if target != nil {
+                               // Update the metadata.Generation to avoid 
conflicts with other clients updating the resource at the same time we are 
reconciling it.

Review Comment:
   That comment can be removed.



##########
pkg/controller/integrationplatform/integrationplatform_controller.go:
##########
@@ -189,6 +189,9 @@ func (r *reconcileIntegrationPlatform) Reconcile(ctx 
context.Context, request re
                        }
 
                        if target != nil {
+                               // Update the metadata.generation to avoid 
conflicts with other reconcile operations

Review Comment:
   That comment can be removed.



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