astefanutti commented on a change in pull request #726: Rename 'context' term 
used by Camel K.
URL: https://github.com/apache/camel-k/pull/726#discussion_r291578944
 
 

 ##########
 File path: pkg/trait/trait.go
 ##########
 @@ -54,39 +54,39 @@ func Apply(ctx context.Context, c client.Client, 
integration *v1alpha1.Integrati
 }
 
 // newEnvironment creates a Environment from the given data
-func newEnvironment(ctx context.Context, c client.Client, integration 
*v1alpha1.Integration, ictx *v1alpha1.IntegrationContext) (*Environment, error) 
{
+func newEnvironment(ctx context.Context, c client.Client, integration 
*v1alpha1.Integration, kit *v1alpha1.IntegrationKit) (*Environment, error) {
        if integration == nil && ctx == nil {
-               return nil, errors.New("neither integration nor context are 
ste")
+               return nil, errors.New("neither integration nor kit are ste")
 
 Review comment:
   `ste` -> `set` while we are at 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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to