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 2aea4c7ee65fd48c51a783c9de2ff4978b992306 Author: Pasquale Congiusti <pasquale.congiu...@gmail.com> AuthorDate: Mon Sep 27 11:51:50 2021 +0200 Update pkg/trait/camel.go Co-authored-by: Antonin Stefanutti <astefanu...@users.noreply.github.com> --- pkg/trait/camel.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/trait/camel.go b/pkg/trait/camel.go index 1836329..726ded4 100644 --- a/pkg/trait/camel.go +++ b/pkg/trait/camel.go @@ -80,8 +80,7 @@ func (t *camelTrait) Apply(e *Environment) error { e.IntegrationKit.Status.RuntimeProvider = e.CamelCatalog.Runtime.Provider } - if e.InPhase(v1.IntegrationKitPhaseReady, v1.IntegrationPhaseDeploying) || - e.InPhase(v1.IntegrationKitPhaseReady, v1.IntegrationPhaseRunning) { + if e.IntegrationKitInPhase(v1.IntegrationKitPhaseReady) && e.IntegrationInRunningPhases() { // Get all resources maps := t.computeConfigMaps(e) if t.Properties != nil {