From cc339f7d2c3d0a14f3c7c3b0bb055156b2372141 Mon Sep 17 00:00:00 2001 From: lburgazzoli Date: Wed, 10 Jul 2019 12:42:11 +0200 Subject: [PATCH] Add conditions to camel-k CRs #594 (fix PR review) --- pkg/controller/integration/integration_controller.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/controller/integration/integration_controller.go b/pkg/controller/integration/integration_controller.go index 6bd6e7eed5..641eaa3dad 100644 --- a/pkg/controller/integration/integration_controller.go +++ b/pkg/controller/integration/integration_controller.go @@ -79,14 +79,6 @@ func add(mgr manager.Manager, r reconcile.Reconciler) error { UpdateFunc: func(e event.UpdateEvent) bool { oldIntegration := e.ObjectOld.(*v1alpha1.Integration) newIntegration := e.ObjectNew.(*v1alpha1.Integration) - - if oldIntegration.Status.Phase != newIntegration.Status.Phase { - Log.ForIntegration(newIntegration).Info( - "Phase transition", - "old-phase", oldIntegration.Status.Phase, - "new-phase", newIntegration.Status.Phase, - ) - } // Ignore updates to the integration status in which case metadata.Generation does not change, // or except when the integration phase changes as it's used to transition from one phase // to another