astefanutti commented on a change in pull request #595: Set platform as 
integration contexts owner
URL: https://github.com/apache/camel-k/pull/595#discussion_r273006893
 
 

 ##########
 File path: pkg/controller/integrationcontext/initialize.go
 ##########
 @@ -45,19 +47,24 @@ func (action *initializeAction) CanHandle(ictx 
*v1alpha1.IntegrationContext) boo
 
 func (action *initializeAction) Handle(ctx context.Context, ictx 
*v1alpha1.IntegrationContext) error {
        // The integration platform needs to be initialized before starting to 
create contexts
-       if _, err := platform.GetCurrentPlatform(ctx, action.client, 
ictx.Namespace); err != nil {
+       p, err := platform.GetCurrentPlatform(ctx, action.client, 
ictx.Namespace)
+       if err != nil {
 
 Review comment:
   Makes sense. A good use case for #594 too.

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


With regards,
Apache Git Services

Reply via email to