astefanutti commented on a change in pull request #3078:
URL: https://github.com/apache/camel-k/pull/3078#discussion_r826851260
##########
File path: pkg/trait/trait.go
##########
@@ -79,11 +79,15 @@ func newEnvironment(ctx context.Context, c client.Client,
integration *v1.Integr
if kit == nil {
kit, err = getIntegrationKit(ctx, c, integration)
- if err != nil {
+ if err != nil && !k8serrors.IsNotFound(err) {
Review comment:
Can `integration.status.integrationkit` be set to `nil` instead of an
empty kit? What is the rational to set it to an empty kit?
--
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]