rgolangh commented on code in PR #482:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/482#discussion_r1642420903


##########
controllers/profiles/common/ensurer.go:
##########
@@ -35,7 +35,7 @@ var _ ObjectEnsurer = &noopObjectEnsurer{}
 var _ ObjectsEnsurer = &defaultObjectsEnsurer{}
 
 type ObjectEnsurer interface {
-       Ensure(ctx context.Context, workflow *operatorapi.SonataFlow, visitors 
...MutateVisitor) (client.Object, controllerutil.OperationResult, error)
+       Ensure(ctx context.Context, workflow *operatorapi.SonataFlow, pl 
*operatorapi.SonataFlowPlatform, visitors ...MutateVisitor) (client.Object, 
controllerutil.OperationResult, error)

Review Comment:
   yes this was just an unclean attempt to see if this is useful. I think we 
can use the ensurer with the platform in all places now and remove the one 
without. 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to