This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 0a20787562986eeb5c4b02250c3f63a398ba071d Author: Antonin Stefanutti <anto...@stefanutti.fr> AuthorDate: Fri Oct 8 12:55:38 2021 +0200 fix: Mark transition from deploying to running phase --- pkg/controller/integration/monitor.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/controller/integration/monitor.go b/pkg/controller/integration/monitor.go index 3ab6791..990aa6b 100644 --- a/pkg/controller/integration/monitor.go +++ b/pkg/controller/integration/monitor.go @@ -148,6 +148,9 @@ func (action *monitorAction) Handle(ctx context.Context, integration *v1.Integra // Reconcile Integration phase if integration.Status.Phase == v1.IntegrationPhaseDeploying { integration.Status.Phase = v1.IntegrationPhaseRunning + // let's return to mark the transition and wait for another reconciliation cycle + // so that caches have more time to catch-up + return integration, nil } previous := integration.Status.GetCondition(v1.IntegrationConditionReady)