lburgazzoli commented on code in PR #5216:
URL: https://github.com/apache/camel-k/pull/5216#discussion_r1513299222


##########
pkg/trait/quarkus.go:
##########
@@ -308,7 +308,7 @@ func propagateKitTraits(e *Environment) 
v1.IntegrationKitTraits {
                propagate(fmt.Sprintf("integration profile %q", 
e.IntegrationProfile.Name), e.IntegrationProfile.Status.Traits, &kitTraits, e)
        }
 
-       propagate(fmt.Sprintf("integration %q", e.Integration.Name), 
e.Integration.Spec.Traits, &kitTraits, e)
+       propagate(fmt.Sprintf("integration %q", e.Integration.Name), 
e.Integration.Status.Traits, &kitTraits, e)

Review Comment:
   Pardon if this may be a totally wrong question but just looking at the code 
and from some old memories, since the traits are persisted to the status after 
they have been applied, what the `quarkus` trait sees in the status are the 
traits for from the previous reconciliation, isn't it ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to