This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit cc339f7d2c3d0a14f3c7c3b0bb055156b2372141 Author: lburgazzoli <lburgazz...@gmail.com> AuthorDate: Wed Jul 10 12:42:11 2019 +0200 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 6bd6e7e..641eaa3 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