nicolaferraro commented on a change in pull request #261: Better Knative and
Istio integration
URL: https://github.com/apache/camel-k/pull/261#discussion_r239503730
##########
File path: pkg/trait/debug.go
##########
@@ -35,6 +35,14 @@ func (r *debugTrait) appliesTo(e *Environment) bool {
return e.Integration != nil && e.Integration.Status.Phase ==
v1alpha1.IntegrationPhaseDeploying
}
+func (r *debugTrait) autoconfigure(e *Environment) error {
+ if r.Enabled == nil {
+ enabled := false
+ r.Enabled = &enabled
+ }
+ return nil
+}
+
Review comment:
We're still Java programmers...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services