Skip to content

Commit

Permalink
Update pkg/trait/camel.go
Browse files Browse the repository at this point in the history
Co-authored-by: Antonin Stefanutti <[email protected]>
  • Loading branch information
squakez and astefanutti committed Sep 27, 2021
1 parent 5ef5c75 commit e46f964
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/trait/camel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e46f964

Please sign in to comment.