squakez commented on code in PR #5216:
URL: https://github.com/apache/camel-k/pull/5216#discussion_r1513957971
##########
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:
Good point. Probably we need to use the "executed trait" that have been used
in this reconciliation loop instead of either the `spec` (which represent the
user specification) or the `status` (which represent the previous
reconciliation loop execution).
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]