You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/01/15 12:42:09 UTC

[GitHub] lburgazzoli commented on a change in pull request #328: support for openapi/swagger

lburgazzoli commented on a change in pull request #328: support for openapi/swagger 
URL: https://github.com/apache/camel-k/pull/328#discussion_r247876467
 
 

 ##########
 File path: pkg/trait/knative.go
 ##########
 @@ -133,7 +133,7 @@ func (t *knativeTrait) getServiceFor(e *Environment) *serving.Service {
 	})
 
 	sources := make([]string, 0, len(e.Integration.Spec.Sources))
-	for i, s := range e.Integration.Spec.Sources {
+	for i, s := range e.Integration.Sources() {
 		envName := fmt.Sprintf("CAMEL_K_ROUTE_%03d", i)
 		envvar.SetVal(&environment, envName, s.Content)
 
 Review comment:
   ah yes,  I will fix that

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services